data\Pagination $validatePage

$validatePage public property

Whether to check if $page is within valid range. When this property is true, the value of $page will always be between 0 and ($pageCount-1). Because $pageCount relies on the correct value of $totalCount which may not be available in some cases (e.g. MongoDB), you may want to set this property to be false to disable the page number validation. By doing so, $page will return the value indexed by $pageParam in $params.

public boolean $validatePage = true
doc_Yii
2016-10-30 16:55:58
Comments
Leave a Comment

Please login to continue.