Class TfPaginationControl
Generates pagination controls for paging through content.
The number of pagination control slots is set in Tuskfish Preferences. Choose an odd number for best results.
Package: core
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.1
Var: TfValidator $validator Instance of the Tuskfish data valiator class.
Var: TfPreference $preference Instance of the Tuskfish site preference class.
Var: int $count Number of objects (pages) matching these parameters.
Var: int $limit Number of objects to retrieve in current view.
Var: string $url Target base URL for pagination control links.
Var: int $start Position in result set to retrieve objects from.
Var: int $tag ID of tag used to filter content.
Var: array $extraParams Query string to be appended to the URLs (control script params).
Located at trust_path/libraries/tuskfish/class/TfPaginationControl.php
Copyright: Simon Wilkinson 2013+ (https://tuskfish.biz)
License: GNU General Public License (GPL) V2
Author: Simon Wilkinson simon@isengard.biz
Version: Release: 1.0
Since: 1.1
Var: TfValidator $validator Instance of the Tuskfish data valiator class.
Var: TfPreference $preference Instance of the Tuskfish site preference class.
Var: int $count Number of objects (pages) matching these parameters.
Var: int $limit Number of objects to retrieve in current view.
Var: string $url Target base URL for pagination control links.
Var: int $start Position in result set to retrieve objects from.
Var: int $tag ID of tag used to filter content.
Var: array $extraParams Query string to be appended to the URLs (control script params).
Located at trust_path/libraries/tuskfish/class/TfPaginationControl.php
Methods summary
public
|
|
public
string
|
#
renderPaginationControl( )
Creates a pagination control designed for use with the Bootstrap framework. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
#
setExtraParams( array $extraParams )
Set extra parameters to be included in pagination control links. |