Public Member Functions | Data Fields | Protected Member Functions | Protected Attributes

HTMLTabs Class Reference

Inheritance diagram for HTMLTabs:
Inheritance graph
[legend]
Collaboration diagram for HTMLTabs:
Collaboration graph
[legend]

Public Member Functions

 __construct (&$xmlArr)
 setCurrentTab ($viewName)
 isCurrentTab ($tabView, $curViewObj, $curViewName)
 setCurrentTabInSession ($tview, $curViewObj, $curViewName)
 render ()
 rerender ()

Data Fields

 $m_TemplateFile
 $m_TabViews = null

Protected Member Functions

 readMetadata (&$xmlArr)
 setClientScripts ($tabs, $hasForms)

Protected Attributes

 $m_CurrentTab = null
 $m_ActiveCssClassName = null
 $m_InactiveCssClassName = null

Detailed Description

Definition at line 26 of file HTMLTabs.php.


Constructor & Destructor Documentation

__construct ( &$  xmlArr )

Initialize HTMLTabs with xml array

Parameters:
array$xmlArr
Returns:
void

Reimplemented from MetaObject.

Definition at line 40 of file HTMLTabs.php.

Here is the call graph for this function:


Member Function Documentation

isCurrentTab ( tabView,
curViewObj,
curViewName 
)

Ask if the $this tab object is the current tab

Parameters:
TabView$tabView
EasyView$curViewObjcurrent View Object
string$curViewNamename of the current view
Returns:
boolean TRUE if on the current tab, otherwise FALSE

Definition at line 135 of file HTMLTabs.php.

Here is the caller graph for this function:

readMetadata ( &$  xmlArr ) [protected]

Read Metadata from xml array

Parameters:
array$xmlArr

Reimplemented from MetaObject.

Definition at line 50 of file HTMLTabs.php.

Here is the caller graph for this function:

render (  )

Render the html tabs

BizSystem $g_BizSystem

Returns:
string html content of the tabs

Implements iUIControl.

Definition at line 193 of file HTMLTabs.php.

Here is the call graph for this function:

Here is the caller graph for this function:

rerender (  )

Rerender the tabs

Returns:
string html content of the menu

Definition at line 249 of file HTMLTabs.php.

Here is the call graph for this function:

setClientScripts ( tabs,
hasForms 
) [protected]

Include client javascripts or CSS in the html content

Parameters:
array$tabs
boolean$hasForms
Returns:
void

Definition at line 261 of file HTMLTabs.php.

Here is the call graph for this function:

Here is the caller graph for this function:

setCurrentTab ( viewName )

Set current tab with view name

Parameters:
string$viewNamename of a view
Returns:
void

Definition at line 122 of file HTMLTabs.php.

Here is the caller graph for this function:

setCurrentTabInSession ( tview,
curViewObj,
curViewName 
)

Save the current tab in the session object

Parameters:
TabView$tview
EasyView$curViewObjcurrent View Object
string$curViewNamename of the current view
Returns:
void

Definition at line 166 of file HTMLTabs.php.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: