framework/web/CDataProviderIterator.php
public function key()
	{
		$pageSize=$this->_dataProvider->getPagination()->getPageSize();
		return $this->_currentPage*$pageSize+$this->_currentIndex;
	}
public function key()
	{
		$pageSize=$this->_dataProvider->getPagination()->getPageSize();
		return $this->_currentPage*$pageSize+$this->_currentIndex;
	}
public function key ( ) { $ pageSize = $ this -> _dataProvider -> getPagination ( ) -> getPageSize ( ) ; return $ this -> _currentPage * $ pageSize + $ this -> _currentIndex ; }
Gets the key of the current item.
This method is required by the Iterator interface.
@return integer the key of the current item
Gets the key of the current item . This method is required by the Iterator interface .