Zend Framework
3.0
|
Public Member Functions | |
__invoke (Paginator\Paginator $paginator=null, $scrollingStyle=null, $partial=null, $params=null) | |
Render the provided pages. | |
Public Member Functions inherited from AbstractHelper | |
setView (Renderer $view) | |
Set the View object. | |
getView () | |
Get the view object. | |
Static Public Member Functions | |
static | setDefaultScrollingStyle ($style) |
Sets the default Scrolling Style. | |
static | getDefaultScrollingStyle () |
Gets the default scrolling style. | |
static | setDefaultViewPartial ($partial) |
Sets the default view partial. | |
static | getDefaultViewPartial () |
Gets the default view partial. | |
Static Protected Attributes | |
static | $defaultScrollingStyle = 'sliding' |
static | $defaultViewPartial = null |
Additional Inherited Members | |
Protected Attributes inherited from AbstractHelper | |
$view = null | |
__invoke | ( | Paginator\Paginator | $paginator = null , |
$scrollingStyle = null , |
|||
$partial = null , |
|||
$params = null |
|||
) |
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).
Paginator\Paginator | $paginator | (Optional) |
string | $scrollingStyle | (Optional) Scrolling style |
string | $partial | (Optional) View partial |
array | string | $params | (Optional) params to pass to the partial |
Exception\RuntimeException | if no paginator or no view partial provided |
Exception\InvalidArgumentException | if partial is invalid array |
|
static |
Gets the default scrolling style.
|
static |
Gets the default view partial.
|
static |
Sets the default Scrolling Style.
string | $style | string 'all' | 'elastic' | 'sliding' | 'jumping' |
|
static |
Sets the default view partial.
string | array | $partial | View partial |
|
staticprotected |
|
staticprotected |