\Kendo\UI\TaskBoardToolbar
A PHP class representing the toolbar setting of TaskBoard.
Methods
addItem
Adds one or more TaskBoardToolbarItem to the TaskBoardToolbar.
Returns
\Kendo\UI\TaskBoardToolbar
Parameters
$value[, $value2, ...] \Kendo\UI\TaskBoardToolbarItem|array
Example - using \Kendo\UI\TaskBoardToolbarItem
<?php
$toolbar = new \Kendo\UI\TaskBoardToolbar();
$item = new \Kendo\UI\TaskBoardToolbarItem();
$command = 'value';
$item->command($command);
$toolbar->addItem($item);
?>
Example - using array
<?php
$toolbar = new \Kendo\UI\TaskBoardToolbar();
$command = 'value';
$toolbar->addItem(array('command' => $command));
?>
Example - adding more than one TaskBoardToolbarItem
<?php
$toolbar = new \Kendo\UI\TaskBoardToolbar();
$first = new \Kendo\UI\TaskBoardToolbarItem();
$second = new \Kendo\UI\TaskBoardToolbarItem();
$toolbar->addItem($first, $second);
?>