public function findMany($conditions = '', $params = array(), $orderBy = null, $limit = null, $offset = null){
        $cmd = $this->db->builder()->select()->from($this->table)->where($conditions, $params);
        if($orderBy){
            $cmd->orderBy($orderBy);
        }
        $rows = $cmd->limit($limit, $offset)->queryAll();
        if(false === $rows){
            return false;
        }
        else{
            return $this->mapModels($rows);
        }
    }
public function findMany($conditions = '', $params = array(), $orderBy = null, $limit = null, $offset = null){
        $cmd = $this->db->builder()->select()->from($this->table)->where($conditions, $params);
        if($orderBy){
            $cmd->orderBy($orderBy);
        }
        $rows = $cmd->limit($limit, $offset)->queryAll();
        if(false === $rows){
            return false;
        }
        else{
            return $this->mapModels($rows);
        }
    }
public function findMany ( $ conditions = '' , $ params = array ( ) , $ orderBy = null , $ limit = null , $ offset = null ) { $ cmd = $ this -> db -> builder ( ) -> select ( ) -> from ( $ this -> table ) -> where ( $ conditions , $ params ) ; if ( $ orderBy ) { $ cmd -> orderBy ( $ orderBy ) ; } $ rows = $ cmd -> limit ( $ limit , $ offset ) -> queryAll ( ) ; if ( false === $ rows ) { return false ; } else { return $ this -> mapModels ( $ rows ) ; } }
Find many models with conditions

@param string|array $conditions
@param array $params
@param string|array $orderBy
@param int $limit
@param int $offset
@return array Or false on failure
Find many models with conditions