\Kendo\UI\BreadcrumbItem

A PHP class representing the item setting of BreadcrumbItems.

Methods

encoded

Defines whether to encode the item's text. To render entities or HTML, set it to false.

Returns

\Kendo\UI\BreadcrumbItem

Parameters

$value boolean

Example

<?php
$item = new \Kendo\UI\BreadcrumbItem();
$item->encoded(true);
?>

href

Defines the navigation link's url of the item (rendered if navigational is true).

Returns

\Kendo\UI\BreadcrumbItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\BreadcrumbItem();
$item->href('value');
?>

icon

Defines the icon to be rendered.

Returns

\Kendo\UI\BreadcrumbItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\BreadcrumbItem();
$item->icon('value');
?>

iconClass

Defines the icon classes (the span element).

Returns

\Kendo\UI\BreadcrumbItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\BreadcrumbItem();
$item->iconClass('value');
?>

itemClass

Defines the item classes (the li element).

Returns

\Kendo\UI\BreadcrumbItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\BreadcrumbItem();
$item->itemClass('value');
?>

linkClass

Defines the link classes (the a element).

Returns

\Kendo\UI\BreadcrumbItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\BreadcrumbItem();
$item->linkClass('value');
?>

showIcon

Defines whether to show the icon. Default value is true for rootItem and false for item.

Returns

\Kendo\UI\BreadcrumbItem

Parameters

$value boolean

Example

<?php
$item = new \Kendo\UI\BreadcrumbItem();
$item->showIcon(true);
?>

showText

Defines whether to show the text. Default value is false for rootItem and true for item.

Returns

\Kendo\UI\BreadcrumbItem

Parameters

$value boolean

Example

<?php
$item = new \Kendo\UI\BreadcrumbItem();
$item->showText(true);
?>

text

Defines the text of the item.

Returns

\Kendo\UI\BreadcrumbItem

Parameters

$value string

Example

<?php
$item = new \Kendo\UI\BreadcrumbItem();
$item->text('value');
?>

type

The item type.

Returns

\Kendo\UI\BreadcrumbItem

Parameters

$value string

Example

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