Public Member Functions | |
__construct (&$xmlArr, $formObj) | |
adjustFormName ($formName) | |
reset () | |
setValue ($value) | |
getValue () | |
getProperty ($propertyName) | |
canDisplayed () | |
getDefaultValue () | |
render () | |
renderLabel () | |
getDescription () | |
getSCKeyFuncMap () | |
getContextMenu () | |
getEvents () | |
getFunctionByEventHandlerName ($eventHandlerName) | |
getRedirectPage ($eventHandlerName) | |
getParameter ($eventHandlerName) | |
getFunctionType ($eventHandlerName) | |
checkRequired () | |
validate () | |
getClientValidator () | |
matchRemoteMethod ($method) | |
Data Fields | |
$m_Style | |
$m_cssClass | |
$m_cssErrorClass | |
$m_Width | |
$m_Height | |
$m_Hidden = "N" | |
$m_HTMLAttr | |
$m_Label | |
$m_EventHandlers | |
$m_Translatable | |
$m_FuzzySearch | |
$m_OnEventLog | |
$m_AllowURLParam = 'N' | |
$m_XMLMeta | |
$m_SortFlag | |
$m_Value = "" | |
$m_FormName | |
$m_ElementSet | |
$m_ElementSetCode | |
$m_TabSet | |
$m_TabSetCode | |
$m_FieldName | |
$m_Required = null | |
$m_Validator = null | |
$m_ClientValidator = null | |
$m_KeepCookie = null | |
$m_CookieLifetime = 3600 | |
$m_BackgroundColor | |
Protected Member Functions | |
readMetaData (&$xmlArr) | |
getFormObj () | |
getHidden () | |
getStyle () | |
getBackgroundColor () | |
getText () | |
getFunction () | |
translate () | |
getTransKey ($name) | |
translateString ($value) |
Definition at line 25 of file Element.php.
__construct | ( | &$ | xmlArr, |
$ | formObj | ||
) |
Initialize Element with xml array
array | $xmlArr |
Reimplemented in FileUploader, and ImageUploader.
Definition at line 63 of file Element.php.
adjustFormName | ( | $ | formName ) |
Adjust form (EasyForm) name change the form name after inherit from parent form
string | $formName |
Definition at line 142 of file Element.php.
canDisplayed | ( | ) |
Check if the element can be displayed
Definition at line 209 of file Element.php.
checkRequired | ( | ) |
Check if element must required (must have value)
Definition at line 503 of file Element.php.
getClientValidator | ( | ) |
getContextMenu | ( | ) |
Get context menu
Definition at line 378 of file Element.php.
getDefaultValue | ( | ) |
Get default value
Definition at line 223 of file Element.php.
getFormObj | ( | ) | [protected] |
Get form (EasyForm) object
Definition at line 129 of file Element.php.
getFunction | ( | ) | [protected] |
Get function of element in JavaScript format
Definition at line 404 of file Element.php.
getFunctionType | ( | $ | eventHandlerName ) |
Get function type
string | $eventHandlerName | event handler name |
Definition at line 491 of file Element.php.
getHidden | ( | ) | [protected] |
Get hidden status
Definition at line 274 of file Element.php.
getParameter | ( | $ | eventHandlerName ) |
Get parameter
string | $eventHandlerName |
Definition at line 477 of file Element.php.
getProperty | ( | $ | propertyName ) |
Get property of element
string | $propertyName |
Reimplemented from MetaObject.
Definition at line 196 of file Element.php.
getRedirectPage | ( | $ | eventHandlerName ) |
Get redirect page
string | $eventHandlerName | event handler name |
Definition at line 462 of file Element.php.
getSCKeyFuncMap | ( | ) |
Get shortcut key function map
Definition at line 351 of file Element.php.
getStyle | ( | ) | [protected] |
Get style of element
Reimplemented in ColumnBar, EditCombobox, and Radio.
Definition at line 285 of file Element.php.
getText | ( | ) | [protected] |
Get text of element
Reimplemented in HTMLPreview, LabelText, and RawData.
Definition at line 330 of file Element.php.
getValue | ( | ) |
Get value of element
Reimplemented in Checkbox, ColumnShare, FileInput, FormElement, InputElement, and InputPassword.
Definition at line 185 of file Element.php.
readMetaData | ( | &$ | xmlArr ) | [protected] |
Read array meta data, and store to meta object
array | $xmlArr |
Reimplemented in AutoSuggest, Button, Checkbox, CKEditor, ColorPicker, ColumnBar, ColumnBool, ColumnImage, ColumnList, ColumnPassword, ColumnShare, ColumnText, DropDownList, EditCombobox, FileUploader, FormElement, Hidden, HTMLPreview, IDCardReader, IFrameBox, ImageSelector, ImageUploader, InputDate, InputDatetime, InputElement, InputPassword, InputPicker, InputText, LabelBool, LabelImage, LabelList, LabelPassword, LabelText, LabelTextPaging, Listbox, OptionElement, Password, RawData, RowCheckbox, Spacer, and Textarea.
Definition at line 80 of file Element.php.
render | ( | ) |
Render the element by html
Implements iUIControl.
Reimplemented in AutoSuggest, Button, Checkbox, CheckListbox, CKEditor, ColorPicker, ColumnBar, ColumnBool, ColumnHidden, ColumnImage, ColumnList, ColumnPassword, ColumnShare, ColumnSorting, ColumnValue, DropDownList, EditCombobox, File, FileInput, FileUploader, FormElement, Hidden, HTMLBlock, HTMLButton, HTMLPreview, IDCardReader, IFrameBox, ImageSelector, ImageUploader, InputDate, InputDateRangePicker, InputDatetime, InputElement, InputPassword, InputPicker, InputText, LabelBar, LabelBool, LabelImage, LabelList, LabelPassword, LabelText, LabelTextarea, LabelTextPaging, Listbox, OptionElement, Password, Radio, RawData, ResetButton, RichText, RowCheckbox, Spacer, SubmitButton, Textarea, and TreeLabelText.
Definition at line 258 of file Element.php.
setValue | ( | $ | value ) |
Set value of element
mixed | $value |
Reimplemented in ColumnShare, FileUploader, FormElement, ImageUploader, and InputPassword.
Definition at line 169 of file Element.php.
validate | ( | ) |
Validate element
Definition at line 522 of file Element.php.