|
KWeb
6.4
|
Navigation bar for list of items, with pagination, sorting and filtering. More...
Public Member Functions | |
| __construct ($id) | |
| feedObjects ($objects) | |
| Ładuje informacje... | |
| feedNumbers ($count) | |
| feedPages ($count, $pages) | |
| Feeds page names. | |
| getPageParam ($validate=true) | |
| setPage ($page=null) | |
| setPosition ($position) | |
| getPage () | |
| getPosition () | |
| getMaxPosition () | |
| getCount () | |
| getPageSize () | |
| getPagesCount () | |
| setObjects ($objects) | |
| getObjects () | |
| getUrlParams ($params=array(), $includeForm=true) | |
| getPageUrl ($page=false, $includeForm=true) | |
| getPageOnClick ($page=false, $includeForm=true) | |
| getPageTitle ($pageId=false) | |
| getPageId ($pageIndex) | |
| getPageIndex ($pageId=false) | |
| printNavbar ($item=false, $view=null, $urlSuffix= '') | |
| prepareFilters ($formMethod= 'ALL') | |
| getFilterValue ($id, $default=null) | |
| Returns value of a filter field. | |
| getFilterField ($id) | |
| Return filter field. | |
| isFiltering () | |
Data Fields | |
| $objects = array() | |
| $id = '' | |
| $count = false | |
| $position = 0 | |
| $pageSize = 16 | |
| $view = '' | |
| $urlParams = array() | |
| Parameters to pass in page urls. | |
| $urlSuffix = '' | |
| $pageParamInPath = false | |
| TRUE if page param should be put in the path instead of the query. | |
| $pageParam = 'page' | |
| URL Parameter name for page number. | |
| $pageUrlFormat = false | |
| sprintf('', $page) type of format, to use instead of standard URL creation. | |
| $pageOnClickFormat = false | |
| sprintf('', $page) type of format, to use instead for onClick in tag | |
| $item = null | |
| $printed = 0 | |
| $pageTitles = null | |
| $farLimit = 3 | |
| How many pages to show on the far ends. | |
| $nearLimit = 10 | |
| How many pages to show nearby. | |
| $form = null | |
| $formBasic = null | |
| $formFilters = null | |
| $formOptions = null | |
| $templateInc | |
| Inc file used to print this navbar. | |
| $templateIncVars = array() | |
| Additional variables passed to the template. | |
Protected Attributes | |
| $page = null | |
Navigation bar for list of items, with pagination, sorting and filtering.
| KWebNavbar::__construct | ( | $ | id | ) |
| KWebNavbar::feedNumbers | ( | $ | count | ) |
| KWebNavbar::feedObjects | ( | $ | objects | ) |
Ładuje informacje...
| objects | - lista wszystkich obiektów |
| page | - strona do otworzenia |
| KWebNavbar::feedPages | ( | $ | count, |
| $ | pages | ||
| ) |
Feeds page names.
| KWebNavbar::getCount | ( | ) |
| KWebNavbar::getFilterField | ( | $ | id | ) |
Return filter field.
| KWebNavbar::getFilterValue | ( | $ | id, |
| $ | default = null |
||
| ) |
Returns value of a filter field.
| KWebNavbar::getMaxPosition | ( | ) |
| KWebNavbar::getObjects | ( | ) |
| KWebNavbar::getPage | ( | ) |
| KWebNavbar::getPageId | ( | $ | pageIndex | ) |
| KWebNavbar::getPageIndex | ( | $ | pageId = false | ) |
| KWebNavbar::getPageOnClick | ( | $ | page = false, |
| $ | includeForm = true |
||
| ) |
| KWebNavbar::getPageParam | ( | $ | validate = true | ) |
| KWebNavbar::getPagesCount | ( | ) |
| KWebNavbar::getPageSize | ( | ) |
| KWebNavbar::getPageTitle | ( | $ | pageId = false | ) |
| KWebNavbar::getPageUrl | ( | $ | page = false, |
| $ | includeForm = true |
||
| ) |
| KWebNavbar::getPosition | ( | ) |
| KWebNavbar::getUrlParams | ( | $ | params = array(), |
| $ | includeForm = true |
||
| ) |
| KWebNavbar::isFiltering | ( | ) |
| KWebNavbar::prepareFilters | ( | $ | formMethod = 'ALL' | ) |
| KWebNavbar::printNavbar | ( | $ | item = false, |
| $ | view = null, |
||
| $ | urlSuffix = '' |
||
| ) |
| KWebNavbar::setObjects | ( | $ | objects | ) |
| KWebNavbar::setPage | ( | $ | page = null | ) |
| KWebNavbar::setPosition | ( | $ | position | ) |
| KWebNavbar::$count = false |
| KWebNavbar::$farLimit = 3 |
How many pages to show on the far ends.
| KWebNavbar::$form = null |
| KWebNavbar::$formBasic = null |
| KWebNavbar::$formFilters = null |
| KWebNavbar::$formOptions = null |
| KWebNavbar::$id = '' |
| KWebNavbar::$item = null |
| KWebNavbar::$nearLimit = 10 |
How many pages to show nearby.
| KWebNavbar::$objects = array() |
KWebNavbar::$page = null [protected] |
| KWebNavbar::$pageOnClickFormat = false |
sprintf('', $page) type of format, to use instead for onClick in tag
| KWebNavbar::$pageParam = 'page' |
URL Parameter name for page number.
| KWebNavbar::$pageParamInPath = false |
TRUE if page param should be put in the path instead of the query.
| KWebNavbar::$pageSize = 16 |
| KWebNavbar::$pageTitles = null |
| KWebNavbar::$pageUrlFormat = false |
sprintf('', $page) type of format, to use instead of standard URL creation.
| KWebNavbar::$position = 0 |
| KWebNavbar::$printed = 0 |
| KWebNavbar::$templateInc |
Inc file used to print this navbar.
| KWebNavbar::$templateIncVars = array() |
Additional variables passed to the template.
| KWebNavbar::$urlParams = array() |
Parameters to pass in page urls.
| KWebNavbar::$urlSuffix = '' |
| KWebNavbar::$view = '' |