phpPeanuts  2.2.0
phpPeanuts framework
 All Data Structures Namespaces Files Functions Variables
TabsPart Class Reference

Inherits PntTabsPart.

Additional Inherited Members

- Public Member Functions inherited from PntTabsPart
 __construct ($whole, $requestData, $tabsSpec, $selected=null)
 
 initialize ($tabsSpec, $selected=null)
 
 setTabsSpec ($tabsSpec)
 
 processPartArgumentsConvertTabsSpec ()
 
 setSelected ($value)
 
 setName ($value)
 
 setJsSelectFunc ($value)
 
 setHandler_printTabDiv ($eventHandler)
 
 setHandler_printContentDivTag ($eventHandler)
 
 setHandler_printContentPart ($eventHandler)
 
 getSelectedKey ()
 
 getName ()
 
 printBody ()
 
 printScript ()
 
 getJsTabsArrayName ()
 
 printTabBar ()
 
 printTabDiv ($tabsPart, $key, $label)
 
 printContent ()
 
 printContentDivPart ($name, $label)
 
 printContentDivTag ($tabsPart, $name)
 
 printContentPart ($tabsPart, $name, $label)
 
 getContentPart ($name)
 
- Static Public Member Functions inherited from PntPage
static getInfoStyleOk ()
 
static getInfoStyleError ()
 
static getInfoStyleWarning ()
 
- Data Fields inherited from PntTabsPart
 $tabsSpec
 
 $printDivs = true
 
 $tabsBarOnly = false
 
 $selected
 
 $jsSelectFunc = 'pntTabSelected'
 
 $contentParts
 

Detailed Description

PagePart that generates a tab bar and corrsponding content divs that are shown/hidden by clicking on a tab div in the tab bar. content is generated by printPart on the whole or on specified parts

This concrete subclass is here to keep de application developers code separated from the framework code.

See Also
http://www.phppeanuts.org/site/index_php/Menu/178 Framework code is in the superclass. This class may be copied to an application folder to make application specific overrides.
http://www.phppeanuts.org/site/index_php/Pagina/65

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