Ejemplo n.º 1
0
 public function offsetUnset($index)
 {
     $index = (string) $index;
     if (isset($this->callbacks[$index])) {
         unset($this->callbacks[$index]);
         if (isset($this->results[$index])) {
             unset($this->results[$index]);
         }
     } else {
         parent::offsetUnset($index);
     }
 }
Ejemplo n.º 2
0
 public function __construct($arr = array())
 {
     parent::__construct($arr);
 }
Ejemplo n.º 3
0
 /**
  * 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;
 }