Public Member Functions | Data Fields | Protected Member Functions

Element Class Reference

Inheritance diagram for Element:
Inheritance graph
[legend]
Collaboration diagram for Element:
Collaboration graph
[legend]

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)

Detailed Description

Definition at line 25 of file Element.php.


Constructor & Destructor Documentation

__construct ( &$  xmlArr,
formObj 
)

Initialize Element with xml array

Parameters:
array$xmlArr
Returns:
void

Reimplemented in FileUploader, and ImageUploader.

Definition at line 63 of file Element.php.

Here is the call graph for this function:


Member Function Documentation

adjustFormName ( formName )

Adjust form (EasyForm) name change the form name after inherit from parent form

Parameters:
string$formName
Returns:
void

Definition at line 142 of file Element.php.

canDisplayed (  )

Check if the element can be displayed

Returns:
boolean

Definition at line 209 of file Element.php.

Here is the call graph for this function:

Here is the caller graph for this function:

checkRequired (  )

Check if element must required (must have value)

Returns:
boolean

Definition at line 503 of file Element.php.

Here is the call graph for this function:

getClientValidator (  )

Get client validator

Returns:
string

Definition at line 535 of file Element.php.

getContextMenu (  )

Get context menu

Returns:
array

Definition at line 378 of file Element.php.

Here is the call graph for this function:

getDefaultValue (  )

Get default value

Returns:
mixed

Definition at line 223 of file Element.php.

Here is the call graph for this function:

Here is the caller graph for this function:

getFormObj (  ) [protected]

Get form (EasyForm) object

Returns:
EasyForm

Definition at line 129 of file Element.php.

Here is the call graph for this function:

Here is the caller graph for this function:

getFunction (  ) [protected]

Get function of element in JavaScript format

Returns:
string

Definition at line 404 of file Element.php.

Here is the caller graph for this function:

getFunctionType ( eventHandlerName )

Get function type

Parameters:
string$eventHandlerNameevent handler name
Returns:
string function type in string format

Definition at line 491 of file Element.php.

getHidden (  ) [protected]

Get hidden status

Returns:
mixed

Definition at line 274 of file Element.php.

Here is the call graph for this function:

Here is the caller graph for this function:

getParameter ( eventHandlerName )

Get parameter

Parameters:
string$eventHandlerName
Returns:
mixed

Definition at line 477 of file Element.php.

Here is the call graph for this function:

getProperty ( propertyName )

Get property of element

Parameters:
string$propertyName
Returns:
mixed

Reimplemented from MetaObject.

Definition at line 196 of file Element.php.

getRedirectPage ( eventHandlerName )

Get redirect page

Parameters:
string$eventHandlerNameevent handler name
Returns:
string

Definition at line 462 of file Element.php.

Here is the call graph for this function:

getSCKeyFuncMap (  )

Get shortcut key function map

Returns:
array

Todo:
need to remove, not used (mr_a_ton)

Definition at line 351 of file Element.php.

Here is the call graph for this function:

Here is the caller graph for this function:

getStyle (  ) [protected]

Get style of element

Returns:
string

Reimplemented in ColumnBar, EditCombobox, and Radio.

Definition at line 285 of file Element.php.

Here is the call graph for this function:

Here is the caller graph for this function:

getText (  ) [protected]

Get text of element

Returns:
string

Reimplemented in HTMLPreview, LabelText, and RawData.

Definition at line 330 of file Element.php.

Here is the call graph for this function:

Here is the caller graph for this function:

getValue (  )

Get value of element

Returns:
mixed

Reimplemented in Checkbox, ColumnShare, FileInput, FormElement, InputElement, and InputPassword.

Definition at line 185 of file Element.php.

Here is the caller graph for this function:

readMetaData ( &$  xmlArr ) [protected]
render (  )
setValue ( value )

Set value of element

Parameters:
mixed$value

Reimplemented in ColumnShare, FileUploader, FormElement, ImageUploader, and InputPassword.

Definition at line 169 of file Element.php.

Here is the call graph for this function:

Here is the caller graph for this function:

validate (  )

Validate element

Returns:
boolean

Definition at line 522 of file Element.php.

Here is the call graph for this function:


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