Framework  3.9
ServerPagedList Class Reference

ServerPagedList provides the same interface and functionality as PagedList, with the difference that paging is handled at the server. More...

Public Member Functions

 __construct ($items, $id="paged_list", $format=null)
 
 writeScript ()
 
 drawList ()
 
 formatIdTag ($item)
 

Public Attributes

 $items
 
 $id
 
 $format
 
 $pageSize = 10
 The number of items per page. More...
 
 $listTag = "ul"
 The HTML list tag type. More...
 
 $CSSclass = null
 CSS class(es) to be applied to the list. More...
 
 $styles = null
 Specific CSS styles to be applied to the list. More...
 
 $emptyList = "No items in the list"
 Message to display when the list is empty. More...
 
 $paginate = true
 Specifies whether list should be paginated. More...
 
 $page = -1
 
 $writeIdTag = false
 whether to include an id tag for each li item More...
 

Detailed Description

ServerPagedList provides the same interface and functionality as PagedList, with the difference that paging is handled at the server.

This results in a less responsive UI for the user, and no support for filtering or facets, but it does preserve the page when navigating back via the back button.

Author
andy

Definition at line 200 of file paged_list.inc.


The documentation for this class was generated from the following file: