setTableName(self::TABLE_NAME); $this->registerSortingParams([ 'zeit' => 'reproto.zeit', ]); } /** * @return SelectQuery */ protected function selectOneQuery() { return $this->selectAllQuery()->where('reproto.id = :id'); } /** * @return SelectQuery */ protected function selectAllQuery() { return $this->db ->select() ->cols([ 'reproto.id', 'reproto.lieferschein', 'reproto.zeit', 'reproto.bearbeiter', 'reproto.grund', ]) ->from(self::TABLE_NAME . ' AS reproto'); } /** * @return SelectQuery */ protected function selectIdsQuery() { return $this->selectAllQuery()->where('reproto.id IN (:ids)'); } /** * @return false */ protected function insertQuery() { return false; } /** * @return false */ protected function updateQuery() { return false; } /** * @return false */ protected function deleteQuery() { return false; } }