PHP Class Nextras\Datagrid\Column

Inheritance: extends Nette\Object
Mostrar archivo Open project: nextras/datagrid

Public Properties

Property Type Description
$label string
$name string

Protected Properties

Property Type Description
$grid Datagrid
$sort string

Public Methods

Method Description
__construct ( $name, $label, Datagrid $grid )
canSort ( )
enableSort ( $default = NULL )
getNewState ( )
isAsc ( )
isDesc ( )

Method Details

__construct() public method

public __construct ( $name, $label, Datagrid $grid )
$grid Datagrid

canSort() public method

public canSort ( )

enableSort() public method

public enableSort ( $default = NULL )

getNewState() public method

public getNewState ( )

isAsc() public method

public isAsc ( )

isDesc() public method

public isDesc ( )

Property Details

$grid protected_oe property

protected Datagrid,Nextras\Datagrid $grid
return Datagrid

$label public_oe property

public string $label
return string

$name public_oe property

public string $name
return string

$sort protected_oe property

protected string $sort
return string