Fully Qualified Name: | Laminas\View\Helper\PaginationControl |
Extends: | AbstractHelper |
Name | Description | Defined By |
---|---|---|
__invoke() | Render the provided pages. This checks if $view->paginator is set and, if so, uses that. Also, if no scrolling style or partial are specified, the defaults will be used (if set). | PaginationControl |
getDefaultScrollingStyle() | Gets the default scrolling style | PaginationControl |
getDefaultViewPartial() | Gets the default view partial | PaginationControl |
getView() | Get the view object | AbstractHelper |
setDefaultScrollingStyle() | Sets the default Scrolling Style | PaginationControl |
setDefaultViewPartial() | Sets the default view partial. | PaginationControl |
setView() | Set the View object | AbstractHelper |
Render the provided pages. This checks if $view->paginator is set and, if so, uses that. Also, if no scrolling style or partial are specified, the defaults will be used (if set).
Parameter Name | Type | Description |
---|---|---|
$paginator | \Paginator\Paginator | (Optional) |
$scrollingStyle | string | (Optional) |
$partial | string | (Optional) |
$params | array|string | (Optional) |
Returns: string
Gets the default scrolling style
Returns: string
Gets the default view partial
Returns: string|array
Get the view object
Returns: null|\Renderer
Sets the default Scrolling Style
Parameter Name | Type | Description |
---|---|---|
$style | string | string |
Returns:
Sets the default view partial.
Parameter Name | Type | Description |
---|---|---|
$partial | string|array | View |
Returns:
Set the View object
Parameter Name | Type | Description |
---|---|---|
$view | \Renderer |
Returns: \AbstractHelper