LimeSurvey API - Master branch

CLSYiiPager extends CLinkPager
in package

Table of Contents

Properties

$firstPageLabel  : string
$lastPageLabel  : string
$nextPageLabel  : string
$prevPageLabel  : string

Methods

init()  : void
createPageButton()  : string
Creates a page button
createPageButtons()  : array<string|int, mixed>
Creates the page buttons.

Properties

$firstPageLabel

public string $firstPageLabel = '&laquo;'

the text label for the first page button.

$lastPageLabel

public string $lastPageLabel = '&raquo;'

the text label for the last page button.

$nextPageLabel

public string $nextPageLabel = '&rsaquo;'

the text label for the next page button.

$prevPageLabel

public string $prevPageLabel = '&lsaquo;'

the text label for the previous page button.

Methods

createPageButton()

Creates a page button

protected createPageButton(string $label, int $page, string $class, bool $hidden, bool $selected) : string
Parameters
$label : string

the text label for the button

$page : int

the page number

$class : string

the CSS class for the page button.

$hidden : bool

whether this page button is visible

$selected : bool

whether this page button is selected

Return values
string

the generated button

createPageButtons()

Creates the page buttons.

protected createPageButtons() : array<string|int, mixed>
Return values
array<string|int, mixed>

a list of page buttons (in HTML code).


        
On this page

Search results