function __construct($name, $primaryKey = 'id', $uniqTextKey = 'uniq', $dataSource) { parent::__construct($name, $primaryKey, $uniqTextKey, $dataSource); $this->select = $this->createSelect(); }
function __construct($name, $primaryKey = 'id', $uniqTextKey = 'uniq', $dataSource) { parent::__construct($name, $primaryKey, $uniqTextKey, $dataSource); $this->directoryIterator = new \DirectoryIterator($this->dataSource->getDirectory() . '/' . $this->name); }
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); }