framework/web/CDataProviderIterator.php
public function next()
	{
		$pageSize=$this->_dataProvider->getPagination()->getPageSize();
		$this->_currentIndex++;
		if($this->_currentIndex >= $pageSize)
		{
			$this->_currentPage++;
			$this->_currentIndex=0;
			$this->loadPage();
		}
	}
public function next()
	{
		$pageSize=$this->_dataProvider->getPagination()->getPageSize();
		$this->_currentIndex++;
		if($this->_currentIndex >= $pageSize)
		{
			$this->_currentPage++;
			$this->_currentIndex=0;
			$this->loadPage();
		}
	}
public function next ( ) { $ pageSize = $ this -> _dataProvider -> getPagination ( ) -> getPageSize ( ) ; $ this -> _currentIndex ++ ; if ( $ this -> _currentIndex >= $ pageSize ) { $ this -> _currentPage ++ ; $ this -> _currentIndex = 0 ; $ this -> loadPage ( ) ; } }
Moves the pointer to the next item in the list.
This method is required by the Iterator interface.
Moves the pointer to the next item in the list . This method is required by the Iterator interface .