Zend Framework  1.12
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
Zend_View_Helper_PaginationControl Class Reference

Public Member Functions

 setView (Zend_View_Interface $view)
 Sets the view instance.
 
 paginationControl (Zend_Paginator $paginator=null, $scrollingStyle=null, $partial=null, $params=null)
 Render the provided pages.
 

Static Public Member Functions

static setDefaultViewPartial ($partial)
 Sets the default view partial.
 
static getDefaultViewPartial ()
 Gets the default view partial.
 

Public Attributes

 $view = null
 

Static Protected Attributes

static $_defaultViewPartial = null
 

Member Function Documentation

static getDefaultViewPartial ( )
static

Gets the default view partial.

Returns
string|array
paginationControl ( Zend_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).

Parameters
Zend_Paginator(Optional) $paginator
string$scrollingStyle(Optional) Scrolling style
string$partial(Optional) View partial
array | string$params(Optional) params to pass to the partial
Returns
string
Exceptions
Zend_View_Exception
See Also
Zend_View_Exception
Zend_View_Exception
Zend_View_Exception
static setDefaultViewPartial (   $partial)
static

Sets the default view partial.

Parameters
string | array$partialView partial
setView ( Zend_View_Interface  $view)

Sets the view instance.

Parameters
Zend_View_Interface$viewView instance
Returns
Zend_View_Helper_PaginationControl

Member Data Documentation

$_defaultViewPartial = null
staticprotected
$view = null