Ejemplo n.º 1
0
 /**
  *
  * @param string $class_name
  * @return boolean
  */
 protected function checkValidDataRowClass($class_name)
 {
     return \ORC\DAO\Table\Util::checkValidDataRowClass($class_name);
 }
Ejemplo n.º 2
0
 public function fetchAllSpecialToObj($index, $class_name = "\\ORC\\DAO\\Table\\DataRow")
 {
     if (is_object($class_name)) {
         $class_name = get_class($class_name);
     }
     \ORC\DAO\Table\Util::checkValidDataRowClass($class_name);
     $old_st = $this->getCurrentStatement();
     $this->switchStatement($index);
     $data = $this->getCurrentStatement()->fetchAll(DAO::FETCH_CLASS | DAO::FETCH_PROPS_LATE, $class_name);
     $this->setCurrentStatement($old_st);
     return $data;
 }