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

Composant Twitter Bootstrap Collapse. More...

+ Inheritance diagram for Collapse:

Public Member Functions

 __construct (JsUtils $js)
 
 attach ($identifier)
 
 show ()
 
 onShow ($jsCode)
 This event fires immediately when the show instance method is called.
 
 onShown ($jsCode)
 This event is fired when a collapse element has been made visible to the user (will wait for CSS transitions to complete).
 
 onHide ($jsCode)
 This event is fired immediately when the hide method has been called.
 
 onHidden ($jsCode)
 This event is fired when a collapse element has been hidden from the user (will wait for CSS transitions to complete).
 
 setCollapsed ($collapsed)
 
- Public Member Functions inherited from SimpleExtComponent
 addEvent ($event, $jsCode)
 
 getScript ()
 
 addCode ($jsCode)
 
- Public Member Functions inherited from SimpleComponent
 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)
 

Protected Member Functions

 compileEvents ()
 
- Protected Member Functions inherited from SimpleExtComponent
 compileJsCodes ()
 
- Protected Member Functions inherited from SimpleComponent
 _createSelector ($itemSelector, $selector)
 
 compileJQueryCode ()
 
 setParamCtrl ($key, $value, $typeCtrl)
 
- Protected Member Functions inherited from BaseComponent
 getParamsAsJSON ($params)
 

Protected Attributes

 $collapsed
 
- 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
 

Additional Inherited Members

- Data Fields inherited from BaseComponent
 $jquery_code_for_compile =array ()
 

Detailed Description

Composant Twitter Bootstrap Collapse.

Author
jc
Version
1.001

Definition at line 14 of file Collapse.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( JsUtils  $js)

Reimplemented from SimpleComponent.

Definition at line 17 of file Collapse.php.

Member Function Documentation

◆ attach()

attach (   $identifier)
Parameters
String$identifieridentifiant CSS

Reimplemented from SimpleComponent.

Definition at line 22 of file Collapse.php.

◆ compileEvents()

compileEvents ( )
protected

Reimplemented from SimpleComponent.

Definition at line 67 of file Collapse.php.

◆ onHidden()

onHidden (   $jsCode)

This event is fired when a collapse element has been hidden from the user (will wait for CSS transitions to complete).

Parameters
string$jsCode
Returns
$this

Definition at line 63 of file Collapse.php.

◆ onHide()

onHide (   $jsCode)

This event is fired immediately when the hide method has been called.

Parameters
string$jsCode
Returns
$this

Definition at line 54 of file Collapse.php.

◆ onShow()

onShow (   $jsCode)

This event fires immediately when the show instance method is called.

Parameters
string$jsCode
Returns
$this

Definition at line 36 of file Collapse.php.

◆ onShown()

onShown (   $jsCode)

This event is fired when a collapse element has been made visible to the user (will wait for CSS transitions to complete).

Parameters
string$jsCode
Returns
$this

Definition at line 45 of file Collapse.php.

◆ setCollapsed()

setCollapsed (   $collapsed)

Definition at line 73 of file Collapse.php.

◆ show()

show ( )

Definition at line 27 of file Collapse.php.

Field Documentation

◆ $collapsed

$collapsed
protected

Definition at line 15 of file Collapse.php.


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