core/MY_Model.php
public function count_all()
    {
        if ($this->soft_delete && $this->_temporary_with_deleted !== TRUE)
        {
            $this->_database->where($this->soft_delete_key, (bool)$this->_temporary_only_deleted);
        }

        return $this->_database->count_all($this->_table);
    }
public function count_all()
    {
        if ($this->soft_delete && $this->_temporary_with_deleted !== TRUE)
        {
            $this->_database->where($this->soft_delete_key, (bool)$this->_temporary_only_deleted);
        }

        return $this->_database->count_all($this->_table);
    }
public function count_all ( ) { if ( $ this -> soft_delete && $ this -> _temporary_with_deleted !== TRUE ) { $ this -> _database -> where ( $ this -> soft_delete_key , ( bool ) $ this -> _temporary_only_deleted ) ; } return $ this -> _database -> count_all ( $ this -> _table ) ; }
Fetch a total count of rows, disregarding any previous conditions
Fetch a total count of rows disregarding any previous conditions