예제 #1
0
파일: DormRow.php 프로젝트: vlki/dorm
 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);
     }
 }
예제 #2
0
파일: News.php 프로젝트: svoby/graweb2010
 public function __construct($arr = array())
 {
     parent::__construct($arr);
 }
예제 #3
0
파일: BaseMapper.php 프로젝트: JZechy/ZBox
 /**
  * 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;
 }