Sets the current page number.
public setPage ( integer $value, boolean $validatePage = false ) |
$value |
integer |
the zero-based index of the current page. |
$validatePage |
boolean |
whether to validate the page number. Note that in order
to validate the page number, both [[validatePage]] and this parameter must be true. |