\Kendo\UI\SchedulerToolbarItem

A PHP class representing the toolbarItem setting of SchedulerToolbar.

Methods

addItem

Adds one or more SchedulerToolbarItemItem to the SchedulerToolbarItem.

Returns

\Kendo\UI\SchedulerToolbarItem

Parameters

$value[, $value2, ...] \Kendo\UI\SchedulerToolbarItemItem|array

Example - using \Kendo\UI\SchedulerToolbarItemItem

<?php
$toolbarItem = new \Kendo\UI\SchedulerToolbarItem();
$item = new \Kendo\UI\SchedulerToolbarItemItem();
$desktop = array();
$item->desktop($desktop);
$toolbarItem->addItem($item);
?>

Example - using array

<?php
$toolbarItem = new \Kendo\UI\SchedulerToolbarItem();
$desktop = array();
$toolbarItem->addItem(array('desktop' => $desktop));
?>

Example - adding more than one SchedulerToolbarItemItem

<?php
$toolbarItem = new \Kendo\UI\SchedulerToolbarItem();
$first  = new \Kendo\UI\SchedulerToolbarItemItem();
$second = new \Kendo\UI\SchedulerToolbarItemItem();
$toolbarItem->addItem($first, $second);
?>

name

The name of the command.

Returns

\Kendo\UI\SchedulerToolbarItem

Parameters

$value string

Example

<?php
$toolbarItem = new \Kendo\UI\SchedulerToolbarItem();
$toolbarItem->name('value');
?>
In this article
Not finding the help you need?