-
Notifications
You must be signed in to change notification settings - Fork 35
icms_view_PageNav
Raimondas Rimkevičius edited this page Mar 9, 2020
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
Class to facilitate navigation in a multi page document/list
- Class name: icms_view_PageNav
- Namespace:
public mixed $total
- Visibility: public
public mixed $perpage
- Visibility: public
public mixed $current
- Visibility: public
public mixed $url
- Visibility: public
mixed icms_view_PageNav::__construct(int total_items, int items_perpage, int current_start, string start_name, string extra_arg)
Constructor
- Visibility: public
- total_items int - <p>Total number of items</p>
- items_perpage int - <p>Number of items per page</p>
- current_start int - <p>First item on the current page</p>
- start_name string - <p>Name for "start" or "offset"</p>
- extra_arg string - <p>Additional arguments to pass in the URL</p>
string icms_view_PageNav::renderNav(int offset)
Create text navigation
- Visibility: public
- offset int
string icms_view_PageNav::renderSelect(bool showbutton)
Create a navigational dropdown list
- Visibility: public
- showbutton bool - <p>Show the "Go" button?</p>
string icms_view_PageNav::renderImageNav(int offset)
Create navigation with images
- Visibility: public
- offset int