__invoke()
getDefaultScrollingStyle()
getDefaultViewPartial()
getView()
setDefaultScrollingStyle()
setDefaultViewPartial()
setView()
$defaultScrollingStyle
$defaultViewPartial
$view
__invoke(\Zend\Paginator\Paginator $paginator, string $scrollingStyle, string $partial, array | string $params) : string
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).
string
(Optional) Scrolling style
string
(Optional) View partial
arraystring
(Optional) params to pass to the partial
\Zend\View\Exception\RuntimeException |
if no paginator or no view partial provided |
---|---|
\Zend\View\Exception\InvalidArgumentException |
if partial is invalid array |
string
getDefaultScrollingStyle() : string
string
getDefaultViewPartial() : string | array
string
array
getView() : null | \Zend\View\Renderer\RendererInterface
inherited_from | \Zend\View\Helper\AbstractHelper::getView() |
---|
setDefaultScrollingStyle(string $style)
string
string 'all' | 'elastic' | 'sliding' | 'jumping'
setDefaultViewPartial(string | array $partial)
stringarray
View partial
setView(\Zend\View\Renderer\RendererInterface $view) : \Zend\View\Helper\AbstractHelper
inherited_from | \Zend\View\Helper\AbstractHelper::setView() |
---|
$defaultScrollingStyle : string
$defaultViewPartial : string | array
$view : \Zend\View\Renderer\RendererInterface
inherited_from | \Zend\View\Helper\AbstractHelper::$$view |
---|