PHP Класс Horde_Core_Ui_Tabs, horde

Copyright 2001-2003 Robert E. Coyle Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Jason M. Felice ([email protected])
Автор: Jan Schneider ([email protected])
Наследование: extends Horde_Core_Ui_Widget
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_tabs array The array of tabs.

Открытые методы

Метод Описание
addTab ( string $title, Horde_Url $link, mixed $params = [] ) Adds a tab to the interface.
getTitleFromAction ( string $tabname ) : string Returns the title of the tab with the specified name.
render ( string $active_tab = null, string $class = 'tabset' ) Renders the tabs.

Описание методов

addTab() публичный Метод

Adds a tab to the interface.
public addTab ( string $title, Horde_Url $link, mixed $params = [] )
$title string The text which appears on the tab.
$link Horde_Url The target page.
$params mixed Either a string value to set the tab variable to, or a hash of parameters. If an array, the tab variable can be set by the 'tabname' key.

getTitleFromAction() публичный Метод

Returns the title of the tab with the specified name.
public getTitleFromAction ( string $tabname ) : string
$tabname string The name of the tab.
Результат string The tab's title.

render() публичный Метод

Renders the tabs.
public render ( string $active_tab = null, string $class = 'tabset' )
$active_tab string If specified, the name of the active tab. If not, the active tab is determined automatically.
$class string The CSS class of the tabset.

Описание свойств

$_tabs защищенное свойство

The array of tabs.
protected array $_tabs
Результат array