Свойство | Тип | Описание | |
---|---|---|---|
$_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. |
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. |
public getTitleFromAction ( string $tabname ) : string | ||
$tabname | string | The name of the tab. |
Результат | string | The tab's title. |