Exemplo n.º 1
0
 protected function __construct($class, $idxCol, array $constructorParams = null, $fetchType = self::FETCH_TYPE_ARRAY, callable $fetcher = null)
 {
     parent::__construct($idxCol, false);
     $this->RC = PsUtil::newReflectionClass($class);
     $this->idxCol = $idxCol;
     $this->constructorParams = $constructorParams;
     $this->fetchType = $fetchType;
     $this->fetcher = $fetcher;
     $this->useFetcher = is_callable($fetcher);
 }
Exemplo n.º 2
0
 protected function __construct($idxCol)
 {
     parent::__construct(true, false);
     $this->idxCol = $idxCol;
 }