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

Public Member Functions

 __construct (JsUtils $js=null)
 
 addField ($identifier)
 
 setInline ($value)
 
 setOn ($value)
 
 addFieldRule ($identifier, $type, $prompt=NULL, $value=NULL)
 
 addFieldValidation ($fieldValidation)
 
 setJs (JsUtils $js)
 
 getScript ()
 
 onValid ($jsCode)
 
- Public Member Functions inherited from SimpleSemExtComponent
 setParamParts ($paramParts)
 
 addComponentEvent ($event, $jsCode)
 
- 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

Author
jc
Version
1.001 Generates a JSON form validation string

Definition at line 12 of file Form.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( JsUtils  $js = null)

Reimplemented from SimpleSemExtComponent.

Definition at line 17 of file Form.php.

Member Function Documentation

◆ addField()

addField (   $identifier)

Definition at line 23 of file Form.php.

◆ addFieldRule()

addFieldRule (   $identifier,
  $type,
  $prompt = NULL,
  $value = NULL 
)
Parameters
string$identifier
Rule | string$type
mixed$value
string | NULL$prompt

Definition at line 43 of file Form.php.

◆ addFieldValidation()

addFieldValidation (   $fieldValidation)
Parameters
FieldValidation$fieldValidation

Definition at line 53 of file Form.php.

◆ getScript()

getScript ( )

Reimplemented from SimpleSemExtComponent.

Definition at line 61 of file Form.php.

◆ onValid()

onValid (   $jsCode)

Definition at line 69 of file Form.php.

◆ setInline()

setInline (   $value)

Definition at line 27 of file Form.php.

◆ setJs()

setJs ( JsUtils  $js)

Reimplemented from SimpleSemExtComponent.

Definition at line 57 of file Form.php.

◆ setOn()

setOn (   $value)

Definition at line 31 of file Form.php.


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