protected function doFind(array $conditions, array $orders, $start, $limit, $key)
    {
        $query = $this->getFindQuery($conditions, $orders, $start, $limit);

        $result = $this->db->setQuery($query)->loadAll($key);

        // Reset query
        $this->query = null;

        return $result;
    }
protected function doFind(array $conditions, array $orders, $start, $limit, $key)
    {
        $query = $this->getFindQuery($conditions, $orders, $start, $limit);

        $result = $this->db->setQuery($query)->loadAll($key);

        // Reset query
        $this->query = null;

        return $result;
    }
protected function doFind ( array $ conditions , array $ orders , $ start , $ limit , $ key ) { $ query = $ this -> getFindQuery ( $ conditions , $ orders , $ start , $ limit ) ; $ result = $ this -> db -> setQuery ( $ query ) -> loadAll ( $ key ) ; // Reset query $ this -> query = null ; return $ result ; }
Do find action.

@param   array   $conditions Where conditions, you can use array or Compare object.
@param   array   $orders     Order sort, can ba string, array or object.
@param   integer $start      Limit start number.
@param   integer $limit      Limit rows.
@param   string  $key        The index key.

@return  mixed  Found rows data set.
@throws \Exception
Do find action .