public function findAll($conditions = false)
    {
        $this->isColl = true;
        $data = $this->fetchAll($conditions);

        $records = array();
        foreach ($data as $key => $row) {
            /** @var $records Record[] */
            $records[$key] = $this->db->init($this->table, $row, false);
            $records[$key]->triggerCallback('afterFind');
        }

        $this->data = $records;
        return $this;
    }
public function findAll($conditions = false)
    {
        $this->isColl = true;
        $data = $this->fetchAll($conditions);

        $records = array();
        foreach ($data as $key => $row) {
            /** @var $records Record[] */
            $records[$key] = $this->db->init($this->table, $row, false);
            $records[$key]->triggerCallback('afterFind');
        }

        $this->data = $records;
        return $this;
    }
public function findAll ( $ conditions = false ) { $ this -> isColl = true ; $ data = $ this -> fetchAll ( $ conditions ) ; $ records = array ( ) ; foreach ( $ data as $ key => $ row ) { /** @var $records Record[] */ $ records [ $ key ] = $ this -> db -> init ( $ this -> table , $ row , false ) ; $ records [ $ key ] -> triggerCallback ( 'afterFind' ) ; } $ this -> data = $ records ; return $ this ; }
Executes the generated SQL and returns the found record collection object or false

@param mixed $conditions
@return $this|$this[]
Executes the generated SQL and returns the found record collection object or false