public function fetchAll($conditions = false)
    {
        $this->andWhere($conditions);
        $data = $this->execute();
        if ($this->indexBy) {
            $data = $this->executeIndexBy($data, $this->indexBy);
        }
        return $data;
    }
public function fetchAll($conditions = false)
    {
        $this->andWhere($conditions);
        $data = $this->execute();
        if ($this->indexBy) {
            $data = $this->executeIndexBy($data, $this->indexBy);
        }
        return $data;
    }
public function fetchAll ( $ conditions = false ) { $ this -> andWhere ( $ conditions ) ; $ data = $ this -> execute ( ) ; if ( $ this -> indexBy ) { $ data = $ this -> executeIndexBy ( $ data , $ this -> indexBy ) ; } return $ data ; }
Executes the generated query and returns all array results

@param mixed $conditions
@return array|false
Executes the generated query and returns all array results