PHP Class Ublaboo\DataGrid\GroupAction\GroupActionCollection

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

Protected Properties

Property Type Description
$datagrid Ublaboo\DataGrid\DataGrid
$group_actions GroupAction[]

Public Methods

Method Description
__construct ( DataGrid $datagrid )
addGroupSelectAction ( string $title, array $options ) : GroupAction Add one group action (select box) to collection of actions
addGroupTextAction ( string $title ) : GroupAction Add one group action (text input) to collection of actions
addGroupTextareaAction ( string $title ) : GroupAction Add one group action (textarea) to collection of actions
addToFormContainer ( Container $container ) : void Get assambled form
getGroupAction ( string $title ) : GroupAction
submitted ( Nette\Application\UI\Form $form ) : void Pass "sub"-form submission forward to custom submit function

Method Details

__construct() public method

public __construct ( DataGrid $datagrid )
$datagrid Ublaboo\DataGrid\DataGrid

addGroupSelectAction() public method

Add one group action (select box) to collection of actions
public addGroupSelectAction ( string $title, array $options ) : GroupAction
$title string
$options array
return GroupAction

addGroupTextAction() public method

Add one group action (text input) to collection of actions
public addGroupTextAction ( string $title ) : GroupAction
$title string
return GroupAction

addGroupTextareaAction() public method

Add one group action (textarea) to collection of actions
public addGroupTextareaAction ( string $title ) : GroupAction
$title string
return GroupAction

addToFormContainer() public method

Get assambled form
public addToFormContainer ( Container $container ) : void
$container Nette\Forms\Container
return void

getGroupAction() public method

public getGroupAction ( string $title ) : GroupAction
$title string
return GroupAction

submitted() public method

Pass "sub"-form submission forward to custom submit function
public submitted ( Nette\Application\UI\Form $form ) : void
$form Nette\Application\UI\Form
return void

Property Details

$datagrid protected_oe property

protected DataGrid,Ublaboo\DataGrid $datagrid
return Ublaboo\DataGrid\DataGrid

$group_actions protected_oe property

protected GroupAction[],Ublaboo\DataGrid\GroupAction $group_actions
return GroupAction[]