|
| __construct ( $url, $flags=XCUBE_PAGENAVI_START) |
|
| XCube_PageNavigator ( $url, $flags=XCUBE_PAGENAVI_START) |
|
| fetch () |
|
| fetchNaviControl (&$navi) |
|
| addExtra ( $key, $value) |
|
| removeExtra ( $key) |
|
| getRenderBaseUrl ( $mask=null) |
|
| getRenderUrl ( $mask=null) |
|
| renderUrlForSort () |
|
| renderUrlForPage ( $page=null) |
|
| renderSortUrl ( $mask=null) |
|
| setStart ( $start) |
|
| getStart () |
|
| setTotalItems ( $total) |
|
| getTotalItems () |
|
| getTotalPages () |
|
| setPerpage ( $perpage) |
|
| freezePerpage () |
|
| getPerpage () |
|
| setPrefix ( $prefix) |
|
| getPrefix () |
|
| getStartKey () |
|
| getPerpageKey () |
|
| getCurrentPage () |
|
| hasPrivPage () |
|
| getPrivStart () |
|
| hasNextPage () |
|
| getNextStart () |
|
|
| $mAttributes = [] |
|
| $mStart = 0 |
|
| $mTotalItems = 0 |
|
| $mPerpage = XCUBE_PAGENAVI_DEFAULT_PERPAGE |
|
| $mPerpageFreeze = false |
|
| $mSort = [] |
|
| $mUrl = '' |
|
| $mPrefix |
|
| $mExtra = [] |
|
| $mFlags = 0 |
|
| $mFetch |
|
| $_mIsSpecifedTotalItems = false |
|
| $mGetTotalItems |
|
| $_mIsSpecifiedTotal |
|
| $mTotal |
|
◆ __construct()
__construct |
( |
| $url, |
|
|
| $flags = XCUBE_PAGENAVI_START ) |
◆ _renderExtra()
_renderExtra |
( |
| $key, |
|
|
| $extra, |
|
|
& | $query ) |
|
protected |
- Parameters
-
$key | * string ** |
$extra | * mixed ** |
$query | * string[] ** |
◆ fetch()
Gets values which this navigator handles, from the request. And, sets values to this object's properties.
◆ getRenderUrl()
getRenderUrl |
( |
| $mask = null | ) |
|
Returns url string for navigation. The return value has lost the starting value. The user need to add a start value. For example, It is "$navi->getRenderUrl().'20'". NOTE : This method name is bad. This must be renamed!
- Returns
- string
◆ renderSortUrl()
renderSortUrl |
( |
| $mask = null | ) |
|
Return url string for sort. The return value is complete style.
- Parameters
-
- Returns
- string
- Deprecated
◆ $mAttributes
Array for extra information.
◆ $mExtra
Array of string for re-building the query strings.
◆ $mFetch
◆ $mFlags
Options indicating what this navigator fetches automatically.
◆ $mPrefix
A prefix for variable names fetched by this navigator. If two independent navigators are used, this property is must.
◆ $mSort
The documentation for this class was generated from the following file:
- C:/Ampps/www/legacy250/html/core/XCube_PageNavigator.class.php