Class PaginationControl

Summary

Fully Qualified Name: Zend\View\Helper\PaginationControl
Extends: AbstractHelper

Description

Methods

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

Method Details

__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).

Parameter Name Type Description
$paginator \Paginator\Paginator (Optional)
$scrollingStyle string (Optional)
$partial string (Optional)
$params array|string (Optional)

Returns: string

getDefaultScrollingStyle()

Gets the default scrolling style

Returns: string

getDefaultViewPartial()

Gets the default view partial

Returns: string|array

getView()

Get the view object

Returns: null|\Renderer

setDefaultScrollingStyle()

Sets the default Scrolling Style

Parameter Name Type Description
$style string string

Returns:

setDefaultViewPartial()

Sets the default view partial.

Parameter Name Type Description
$partial string|array View

Returns:

setView()

Set the View object

Parameter Name Type Description
$view \Renderer

Returns: \AbstractHelper

Top