public function countModelsWithoutLimit()
    {
        if (!$this->isFetched) {
            $this->fetch();
        }

        // no pagination, we have to manually count number of model
        if (!$this->_usePagination) {
            $this->_paginationFoundModels = $this->queryFoundModels();
        }

        return $this->_paginationFoundModels;
    }
public function countModelsWithoutLimit()
    {
        if (!$this->isFetched) {
            $this->fetch();
        }

        // no pagination, we have to manually count number of model
        if (!$this->_usePagination) {
            $this->_paginationFoundModels = $this->queryFoundModels();
        }

        return $this->_paginationFoundModels;
    }
public function countModelsWithoutLimit ( ) { if ( ! $ this -> isFetched ) { $ this -> fetch ( ) ; } // no pagination, we have to manually count number of model if ( ! $ this -> _usePagination ) { $ this -> _paginationFoundModels = $ this -> queryFoundModels ( ) ; } return $ this -> _paginationFoundModels ; }
Remove limit from fetch query and count the number
of models in database

@return mixed
Remove limit from fetch query and count the number of models in database