abstract class AbstractTool implements Renderable

Properties

protected Grid $grid
protected bool $disabled

Methods

$this
disable(bool $disable = true)

Toggle this button.

allowed()

If the tool is allowed.

$this
setGrid(Grid $grid)

Set parent grid.

getGrid()

No description

render()

No description

string
__toString()

No description

Details

at line 27
$this disable(bool $disable = true)

Toggle this button.

Parameters

bool $disable

Return Value

$this

at line 37
allowed()

If the tool is allowed.

at line 49
$this setGrid(Grid $grid)

Set parent grid.

Parameters

Grid $grid

Return Value

$this

at line 59
Grid getGrid()

No description

Return Value

Grid

at line 67
abstract render()

No description

at line 72
string __toString()

No description

Return Value

string