data\Pagination getPageSize()

getPageSize() public method

Returns the number of items per page.

By default, this method will try to determine the page size by $pageSizeParam in $params. If the page size cannot be determined this way, $defaultPageSize will be returned.

See also $pageSizeLimit.

public integer getPageSize ( )
return integer

The number of items per page. If it is less than 1, it means the page size is infinite, and thus a single page contains all items.

doc_Yii
2016-10-30 16:56:00
Comments
Leave a Comment

Please login to continue.