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

Base component for JQuery UI visuals components. More...

+ Inheritance diagram for SimpleComponent:

Public Member Functions

 __construct (JsUtils $js=NULL)
 
 getScript ()
 
 attach ($identifier)
 
 addEvent ($event, $jsCode)
 
 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 ()
 
 _createSelector ($itemSelector, $selector)
 
 compileJQueryCode ()
 
 setParamCtrl ($key, $value, $typeCtrl)
 
- Protected Member Functions inherited from BaseComponent
 getParamsAsJSON ($params)
 

Protected Attributes

 $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

Base component for JQuery UI visuals components.

Author
jc
Version
1.001

Definition at line 13 of file SimpleComponent.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ _createSelector()

_createSelector (   $itemSelector,
  $selector 
)
protected

Definition at line 38 of file SimpleComponent.php.

◆ addEvent()

addEvent (   $event,
  $jsCode 
)

Reimplemented in SimpleExtComponent.

Definition at line 74 of file SimpleComponent.php.

◆ attach()

attach (   $identifier)
Parameters
String$identifieridentifiant CSS

Reimplemented in Carousel, Collapse, Dropdown, Modal, Scrollspy, Tooltip, and Dialog.

Definition at line 70 of file SimpleComponent.php.

◆ compileEvents()

compileEvents ( )
protected

Reimplemented in Collapse, and Splitbutton.

Definition at line 24 of file SimpleComponent.php.

◆ compileJQueryCode()

compileJQueryCode ( )
protected

Definition at line 46 of file SimpleComponent.php.

◆ getAttachTo()

getAttachTo ( )

Definition at line 95 of file SimpleComponent.php.

◆ getItemSelector()

getItemSelector ( )

Definition at line 99 of file SimpleComponent.php.

◆ getScript()

getScript ( )

Reimplemented from BaseComponent.

Reimplemented in Tab, GenericComponent, SimpleExtComponent, Form, SimpleSemExtComponent, and Dialog.

Definition at line 58 of file SimpleComponent.php.

◆ on()

on (   $event,
  $jsCode 
)

Definition at line 78 of file SimpleComponent.php.

◆ setItemSelector()

setItemSelector (   $itemSelector)

Definition at line 103 of file SimpleComponent.php.

◆ setParamCtrl()

setParamCtrl (   $key,
  $value,
  $typeCtrl 
)
protected

Reimplemented from BaseComponent.

Definition at line 83 of file SimpleComponent.php.

Field Documentation

◆ $attachTo

$attachTo
protected

Definition at line 14 of file SimpleComponent.php.

◆ $events

$events
protected

Definition at line 17 of file SimpleComponent.php.

◆ $itemSelector

$itemSelector
protected

Definition at line 15 of file SimpleComponent.php.

◆ $uiName

$uiName
protected

Definition at line 16 of file SimpleComponent.php.


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