public function getPagesNumber() {
		if ($this->_entirePagesNumber === null) {
			$this->_entirePagesNumbe = (int) ceil($this->getAdapter()->count() / $this->_itemsPerPage);
		}
		
		return $this->_entirePagesNumbe;
	}
public function getPagesNumber() {
		if ($this->_entirePagesNumber === null) {
			$this->_entirePagesNumbe = (int) ceil($this->getAdapter()->count() / $this->_itemsPerPage);
		}
		
		return $this->_entirePagesNumbe;
	}
public function getPagesNumber ( ) { if ( $ this -> _entirePagesNumber === null ) { $ this -> _entirePagesNumbe = ( int ) ceil ( $ this -> getAdapter ( ) -> count ( ) / $ this -> _itemsPerPage ) ; } return $ this -> _entirePagesNumbe ; }
Get the entire pages number

@return int
Get the entire pages number