Class Horde_UI_Tabs

Description

The Horde_UI_Tabs:: class manages and renders a tab-like interface.

$Horde: framework/UI/UI/Tabs.php,v 1.27.6.14 2009/01/06 15:23:45 jan Exp $

Copyright 2001-2003 Robert E. Coyle <robertecoyle@hotmail.com> Copyright 2003-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Located in /UI/UI/Tabs.php (line 20)

Horde_UI_Widget
   |
   --Horde_UI_Tabs
Variable Summary
 array $_tabs
Method Summary
 void addTab (string $title, string $link, [mixed $params = array()])
 string getTitleFromAction (string $tabname)
 void render ([string $active_tab = null])
Variables
Methods
addTab (line 38)

Adds a tab to the interface.

void addTab (string $title, string $link, [mixed $params = array()])
  • string $title: The text which appears on the tab.
  • string $link: The target page.
  • mixed $params: 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 (line 56)

Returns the title of the tab with the specified name.

  • return: The tab's title.
string getTitleFromAction (string $tabname)
  • string $tabname: The name of the tab.
render (line 74)

Renders the tabs.

void render ([string $active_tab = null])
  • string $active_tab: If specified, the name of the active tab. If not, the active tab is determined automatically.

Redefinition of:
Horde_UI_Widget::render()
Render the widget.

Inherited Methods

Inherited From Horde_UI_Widget

 Horde_UI_Widget::Horde_UI_Widget()
 Horde_UI_Widget::preserve()
 Horde_UI_Widget::render()
 Horde_UI_Widget::_link()

Documentation generated on Sun, 30 Jan 2011 05:22:37 +0000 by phpDocumentor 1.4.3