class PerPageSelector extends AbstractTool

Properties

protected Grid $grid from  AbstractTool
protected bool $disabled from  AbstractTool
protected string $perPage
protected string $perPageName

Methods

disable(bool $disable = true)

Toggle this button.

bool
allowed()

If the tool is allowed.

getGrid()

No description

setGrid(Grid $grid)

Set parent grid.

string
__toString()

No description

__construct(Grid $grid)

Create a new PerPageSelector instance.

getOptions()

Get options for selector.

string
render()

Render PerPageSelector。

void
initialize()

Do initialize work.

Details

in AbstractTool at line 29
AbstractTool disable(bool $disable = true)

Toggle this button.

Parameters

bool $disable

Return Value

AbstractTool

in AbstractTool at line 39
bool allowed()

If the tool is allowed.

Return Value

bool

in AbstractTool at line 47
Grid getGrid()

No description

Return Value

Grid

in AbstractTool at line 59
AbstractTool setGrid(Grid $grid)

Set parent grid.

Parameters

Grid $grid

Return Value

AbstractTool

in AbstractTool at line 68
string __toString()

No description

Return Value

string

at line 24
__construct(Grid $grid)

Create a new PerPageSelector instance.

Parameters

Grid $grid

at line 34
getOptions()

Get options for selector.

at line 48
string render()

Render PerPageSelector。

Return Value

string

at line 82
protected void initialize()

Do initialize work.

Return Value

void