public
string
|
#
createPageUrl( CController $controller, integer $page )
Creates the URL suitable for pagination. This method is mainly called by
pagers when creating URLs used to perform pagination. The default implementation
is to call the controller's createUrl method with the page information. You may
override this method if your URL scheme is not the same as the one supported by
the controller's createUrl method.
Creates the URL suitable for pagination. This method is mainly called by
pagers when creating URLs used to perform pagination. The default implementation
is to call the controller's createUrl method with the page information. You may
override this method if your URL scheme is not the same as the one supported by
the controller's createUrl method.
Parameters
- $controller
CController $controller the controller that will create the actual URL
- $page
integer $page the page that the URL should point to. This is a zero-based index.
Returns
string the created URL
Overrides
CPagination::createPageUrl()
|