framework/web/CDataProvider.php
public function getPagination($className='CPagination')
	{
		if($this->_pagination===null)
		{
			$this->_pagination=new $className;
			if(($id=$this->getId())!='')
				$this->_pagination->pageVar=$id.'_page';
		}
		return $this->_pagination;
	}
public function getPagination($className='CPagination')
	{
		if($this->_pagination===null)
		{
			$this->_pagination=new $className;
			if(($id=$this->getId())!='')
				$this->_pagination->pageVar=$id.'_page';
		}
		return $this->_pagination;
	}
public function getPagination ( $ className = 'CPagination' ) { if ( $ this -> _pagination === null ) { $ this -> _pagination = new $ className ; if ( ( $ id = $ this -> getId ( ) ) != '' ) $ this -> _pagination -> pageVar = $ id . '_page' ; } return $ this -> _pagination ; }
Returns the pagination object.
@param string $className the pagination object class name. Parameter is available since version 1.1.13.
@return CPagination|false the pagination object. If this is false, it means the pagination is disabled.
Returns the pagination object .