PHP Class Ublaboo\DataGrid\Status\Option

Inheritance: extends Nette\Object
Datei anzeigen Open project: ublaboo/datagrid

Protected Properties

Property Type Description
$class string | callable
$class_in_dropdown string
$class_secondary string
$columnStatus Ublaboo\DataGrid\Column\ColumnStatus
$icon string | callable
$text string
$title string | callable
$value mixed

Public Methods

Method Description
__construct ( ColumnStatus $columnStatus, mixed $value, string $text ) [__construct description]
endOption ( ) : ColumnStatus End option fluent interface and return parent
getClass ( ) : string
getClassInDropdown ( ) : string
getClassSecondary ( ) : string
getIcon ( ) : string
getText ( ) : string
getTitle ( ) : string
getValue ( ) : mixed
setClass ( string $class, string $class_secondary = NULL ) : static
setClassInDropdown ( string $class_in_dropdown ) : static
setClassSecondary ( string $class_secondary ) : static
setIcon ( string $icon ) : static
setTitle ( string $title ) : static

Method Details

__construct() public method

[__construct description]
public __construct ( ColumnStatus $columnStatus, mixed $value, string $text )
$columnStatus Ublaboo\DataGrid\Column\ColumnStatus
$value mixed
$text string

endOption() public method

End option fluent interface and return parent
public endOption ( ) : ColumnStatus
return Ublaboo\DataGrid\Column\ColumnStatus

getClass() public method

public getClass ( ) : string
return string

getClassInDropdown() public method

public getClassInDropdown ( ) : string
return string

getClassSecondary() public method

public getClassSecondary ( ) : string
return string

getIcon() public method

public getIcon ( ) : string
return string

getText() public method

public getText ( ) : string
return string

getTitle() public method

public getTitle ( ) : string
return string

getValue() public method

public getValue ( ) : mixed
return mixed

setClass() public method

public setClass ( string $class, string $class_secondary = NULL ) : static
$class string
$class_secondary string
return static

setClassInDropdown() public method

public setClassInDropdown ( string $class_in_dropdown ) : static
$class_in_dropdown string
return static

setClassSecondary() public method

public setClassSecondary ( string $class_secondary ) : static
$class_secondary string
return static

setIcon() public method

public setIcon ( string $icon ) : static
$icon string
return static

setTitle() public method

public setTitle ( string $title ) : static
$title string
return static

Property Details

$class protected_oe property

protected string|callable $class
return string | callable

$class_in_dropdown protected_oe property

protected string $class_in_dropdown
return string

$class_secondary protected_oe property

protected string $class_secondary
return string

$columnStatus protected_oe property

protected ColumnStatus,Ublaboo\DataGrid\Column $columnStatus
return Ublaboo\DataGrid\Column\ColumnStatus

$icon protected_oe property

protected string|callable $icon
return string | callable

$text protected_oe property

protected string $text
return string

$title protected_oe property

protected string|callable $title
return string | callable

$value protected_oe property

protected mixed $value
return mixed