Beispiel #1
0
 function __construct($name, $primaryKey = 'id', $uniqTextKey = 'uniq', $dataSource)
 {
     parent::__construct($name, $primaryKey, $uniqTextKey, $dataSource);
     $this->select = $this->createSelect();
 }
Beispiel #2
0
 function __construct($name, $primaryKey = 'id', $uniqTextKey = 'uniq', $dataSource)
 {
     parent::__construct($name, $primaryKey, $uniqTextKey, $dataSource);
     $this->directoryIterator = new \DirectoryIterator($this->dataSource->getDirectory() . '/' . $this->name);
 }
Beispiel #3
0
 function __call($f, $args)
 {
     if (method_exists($this, $m = 'compose_' . $f)) {
         $o = $this->isClone ? $this : clone $this;
         return call_user_func_array([$o, $m], $args);
     }
     return parent::__call($f, $args);
 }