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
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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