| Methods |
protected
|
genhelpPropList()
Advance Function, Internal use
Advance Function, Internal use
Overrides
|
#
|
protected
|
oninit()
override this Life-Cycle event handler in your Component to handle it.
trigger when Component initialize and before…
override this Life-Cycle event handler in your Component to handle it.
trigger when Component initialize and before any children Components initialize. You can set default values of Component
in this event handler.
Overrides
|
#
|
public
|
setErrMsg($msg)
|
#
|
public
|
fu_replace(type $find, type $rep)
Find and replace string in option text
Find and replace string in option text
Parameters
| $find |
find string
|
| $rep |
replace string
|
|
#
|
public
|
fu_setSeparator(string $sepa)
Separator for Option Text from multi fields of db with this Character
Separator for Option Text from multi fields of db with this Character
Parameters
|
#
|
public
|
fu_setCssField(string $tblfield)
DB Table Field use for set as class in option tag
DB Table Field use for set as class in option tag
Parameters
|
#
|
public
|
fu_enableSearch()
Make Select as Type-able and Searchable
Make Select as Type-able and Searchable
|
#
|
public
|
fi_setForm($val)
|
#
|
public
|
fu_setMsgName($val)
|
#
|
public
|
fu_setFirstValue($val)
|
#
|
public
|
setOptionsKeyArray()
Use Options as diffrent in show in html and in value html filed<br>
options[key] = val <br>
option value= key <br>…
Use Options as diffrent in show in html and in value html filed
options[key] = val
option value= key
option text = val
By default = false
|
#
|
public
|
getOptionsKeyArray()
|
#
|
public
|
unsetOptionsKeyArray()
|
#
|
public
|
fu_setSelectedIndex($val)
|
#
|
public
|
getSelectedIndex()
|
#
|
public
|
getSelectedValue()
|
#
|
public
|
fi_setNotValue($val)
|
#
|
public
|
fu_setOptions(String $val)
Pass parameter like $val = "vcd,dvd,mp3";<br>
Pass parameter like $val = "vcd,dvd,mp3";
|
#
|
public
|
getOptions()
|
#
|
public
|
setOptionsArray(Array $val)
Pass parameter like $val[] = Array('VCD','Code 1');<br>
$val[] = Array('DVD','Code 2');<br>
DVD = value of option tag…
Pass parameter like $val[] = Array('VCD','Code 1');
$val[] = Array('DVD','Code 2');
DVD = value of option tag and 'Code 2' = text
|
#
|
public
|
fu_setOptionsJSON(string $val)
Set JSON String as key value pairs.
funsetOptionsJSON='[["0","Parent"], ["1", "Child"]]'
funsetOptionsJSON='{"0":…
Set JSON String as key value pairs.
funsetOptionsJSON='[["0","Parent"], ["1", "Child"]]'
funsetOptionsJSON='{"0":"Parent", "1": "Child"}'
Parameters
|
#
|
public
|
getOptionsArray()
|
#
|
public
|
setOptionsElement($index, $value = '', $text = '')
|
#
|
public
|
getOptionsElement($index)
|
#
|
public
|
removeOptionsElement($index)
|
#
|
public
|
fu_setOptionsFromTable($valueField, $textField = '', $tableName = '', $logic = '', $sql = '', $cacheTime = '0')
|
#
|
protected
|
onprejsrender()
override this Life-Cycle event handler in your Component to handle it.
trigger before onprerender,onjsrender,onrender…
override this Life-Cycle event handler in your Component to handle it.
trigger before onprerender,onjsrender,onrender and before any children Components event PreJsRender and PreRender.
This will not work if Front File not Render or disable Component rendering.
You can create JS Function with addHeaderJSFunction and then Children can write their code inside
this JS Function with addHeaderJSFunctionCode. You can divide your logic between various render
event handlers.
Overrides
|
#
|
public
|
processStaticOptions($element)
|
#
|
protected
|
onprerender()
override this Life-Cycle event handler in your Component to handle it.
trigger before onjsrender, onrender and…
override this Life-Cycle event handler in your Component to handle it.
trigger before onjsrender, onrender and PreRender of children Components.
write js,html code which help or need by children for further addition onrender
This will not work if Front File not Render or disable Component rendering.
Overrides
|
#
|
protected
|
onrender()
override this Life-Cycle event handler in your Component to handle it.
trigger when Component Render and Before…
override this Life-Cycle event handler in your Component to handle it.
trigger when Component Render and Before RenderLast. Mostly use to
write HTML layout,design or over-write children output
This will not work if Front File not Render or disable Component rendering.
Overrides
|
#
|
public
|
getOptionsHTML()
|
#
|
public
|
getJSValue()
|
#
|
public
|
setJSValue($exp)
|
#
|
public
|
setJSOptionValue($exp)
|
#
|
public
|
getJSSelectedIndex()
|
#
|