phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
Tab Class Reference

Composant Twitter Bootstrap Tab. More...

+ Inheritance diagram for Tab:

Public Member Functions

 __construct (JsUtils $js)
 
 getScript ()
 
 show ()
 
 onShow ($jsCode)
 This event fires on tab show, but before the new tab has been shown.
 
 onShown ($jsCode)
 This event fires on tab show after a tab has been shown.
 
 onHide ($jsCode)
 This event fires when a new tab is to be shown (and thus the previous active tab is to be hidden).
 
 onHidden ($jsCode)
 This event fires after a new tab is shown (and thus the previous active tab is hidden).
 
- Public Member Functions inherited from SimpleExtComponent
 addEvent ($event, $jsCode)
 
 addCode ($jsCode)
 
- Public Member Functions inherited from SimpleComponent
 attach ($identifier)
 
 on ($event, $jsCode)
 
 getAttachTo ()
 
 getItemSelector ()
 
 setItemSelector ($itemSelector)
 
- Public Member Functions inherited from BaseComponent
 setParam ($key, $value)
 
 getParam ($key)
 
 getParams ()
 
 compile (JsUtils $js=NULL)
 
 setParams ($params)
 
 addParams ($params)
 
 setDebug ($value)
 
 setVerbose ($value)
 

Additional Inherited Members

- Data Fields inherited from BaseComponent
 $jquery_code_for_compile =array ()
 
- Protected Member Functions inherited from SimpleExtComponent
 compileJsCodes ()
 
- Protected Member Functions inherited from SimpleComponent
 compileEvents ()
 
 _createSelector ($itemSelector, $selector)
 
 compileJQueryCode ()
 
 setParamCtrl ($key, $value, $typeCtrl)
 
- Protected Member Functions inherited from BaseComponent
 getParamsAsJSON ($params)
 
- Protected Attributes inherited from SimpleExtComponent
 $events =array ()
 
 $jsCodes =array ()
 
- Protected Attributes inherited from SimpleComponent
 $attachTo
 
 $itemSelector
 
 $uiName
 
 $events
 
- Protected Attributes inherited from BaseComponent
 $params =array ()
 
 $js
 

Detailed Description

Composant Twitter Bootstrap Tab.

Author
jc
Version
1.001

Definition at line 13 of file Tab.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( JsUtils  $js)

Reimplemented from SimpleComponent.

Definition at line 15 of file Tab.php.

Member Function Documentation

◆ getScript()

getScript ( )

Reimplemented from SimpleExtComponent.

Definition at line 24 of file Tab.php.

◆ onHidden()

onHidden (   $jsCode)

This event fires after a new tab is shown (and thus the previous active tab is hidden).

Use event.target and event.relatedTarget to target the previous active tab and the new active tab, respectively.

Parameters
string$jsCode
Returns
$this

Definition at line 71 of file Tab.php.

◆ onHide()

onHide (   $jsCode)

This event fires when a new tab is to be shown (and thus the previous active tab is to be hidden).

Use event.target and event.relatedTarget to target the current active tab and the new soon-to-be-active tab, respectively.

Parameters
string$jsCode
Returns
$this

Definition at line 61 of file Tab.php.

◆ onShow()

onShow (   $jsCode)

This event fires on tab show, but before the new tab has been shown.

Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.

Parameters
string$jsCode
Returns
$this

Definition at line 41 of file Tab.php.

◆ onShown()

onShown (   $jsCode)

This event fires on tab show after a tab has been shown.

Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively.

Parameters
string$jsCode
Returns
$this

Definition at line 51 of file Tab.php.

◆ show()

show ( )

Definition at line 31 of file Tab.php.


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