示例#1
0
 /**
  * Finds multiple database rows and returns an array of the rows found.
  *
  * @return Database_Result or array
  */
 public function find_all()
 {
     $res = parent::find_all();
     if ($this->entity_exists()) {
         $res = $this->entity($res);
     }
     return $res;
 }
示例#2
0
 public function find_all()
 {
     $this->_check_scope_deleted();
     $this->_check_scope_published();
     $result = parent::find_all();
     $this->after_find();
     return $result;
 }