PHP Class Ublaboo\DataGrid\GroupAction\GroupAction

Inheritance: extends Nette\Object
Show file Open project: ublaboo/datagrid Class Usage Examples

Public Properties

Property Type Description
$onSelect callable[]

Protected Properties

Property Type Description
$attributes array
$class string
$title string

Public Methods

Method Description
__construct ( string $title )
getAttributes ( ) : array
getClass ( ) : string
getTitle ( ) : string Get action title
setAttribute ( string $key, mixed $value ) : static
setClass ( string $class ) : static

Method Details

__construct() public method

public __construct ( string $title )
$title string

getAttributes() public method

public getAttributes ( ) : array
return array

getClass() public method

public getClass ( ) : string
return string

getTitle() public method

Get action title
public getTitle ( ) : string
return string

setAttribute() public method

public setAttribute ( string $key, mixed $value ) : static
$key string
$value mixed
return static

setClass() public method

public setClass ( string $class ) : static
$class string
return static

Property Details

$attributes protected property

protected array $attributes
return array

$class protected property

protected string $class
return string

$onSelect public property

public callable[] $onSelect
return callable[]

$title protected property

protected string $title
return string