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

Public Member Functions

 __construct (JsUtils $js)
 
 setAction ($action)
 Sets a default action to occur.
 
 setOn ($event)
 Define the event which trigger dropdown.
 
 setFullTextSearch ($value)
 
 setShowOnFocus ($value)
 
 setAllowAdditions ($value)
 
 setClearable ($value)
 
 setOnAdd ($value)
 
 setOnRemove ($value)
 
- Public Member Functions inherited from SimpleSemExtComponent
 getScript ()
 
 setParamParts ($paramParts)
 
 addComponentEvent ($event, $jsCode)
 
 setJs (JsUtils $js)
 
- 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 SimpleSemExtComponent
 addBehavior ($name)
 
 generateParamParts ()
 
- 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 SimpleSemExtComponent
 $paramParts
 
- 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

Definition at line 6 of file Dropdown.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( JsUtils  $js)

Reimplemented from SimpleSemExtComponent.

Definition at line 8 of file Dropdown.php.

Member Function Documentation

◆ setAction()

setAction (   $action)

Sets a default action to occur.

Parameters
string$actionone of "select","auto","activate","combo","nothing","hide"
Returns
\Ajax\semantic\components\Dropdown

Definition at line 20 of file Dropdown.php.

◆ setAllowAdditions()

setAllowAdditions (   $value)

Definition at line 50 of file Dropdown.php.

◆ setClearable()

setClearable (   $value)

Definition at line 54 of file Dropdown.php.

◆ setFullTextSearch()

setFullTextSearch (   $value)

Definition at line 42 of file Dropdown.php.

◆ setOn()

setOn (   $event)

Define the event which trigger dropdown.

Parameters
string$eventEvent used to trigger dropdown (Hover, Click, Custom Event)
Returns
\Ajax\semantic\components\Dropdown

Definition at line 38 of file Dropdown.php.

◆ setOnAdd()

setOnAdd (   $value)

Definition at line 58 of file Dropdown.php.

◆ setOnRemove()

setOnRemove (   $value)

Definition at line 62 of file Dropdown.php.

◆ setShowOnFocus()

setShowOnFocus (   $value)

Definition at line 46 of file Dropdown.php.


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