/** * Vytvoří z řádku tabulky novou entitu. * @param \DibiRow|bool $row * @return IEntity|NULL */ public function createEntity($row) { if ($row === FALSE) { return NULL; } $entity = $this->getEntity(); $entity->setValues($row->toArray()); return $entity; }