phpDocumentor openbiz.bin.easy.element
[ class tree: openbiz.bin.easy.element ] [ index: openbiz.bin.easy.element ] [ all elements ]

Class: InputElement

Source Location: /easy/element/InputElement.php

Class InputElement

Class Overview

InputElement class is based element for all input element

Located in /easy/element/InputElement.php [line 27]

MetaObject
   |
   --Element
      |
      --InputElement
Author(s):
  • Rocky Swen
API Tags:
Access:  public

Information Tags:
Copyright:  Copyright (c) 2005-2009

Properties

Methods

[ Top ]
Direct descendents
Child Class Description
Button Button class is element for Button
CKEditor CKEditor class is element for CKEditor
File File class is the element for File
HTMLButton Button class is element for Button
InputText InputText class is element for input text
LightColorPicker Class that renders a Color Picker HTML element on screen.
OptionElement OptionElement is the base class of element that render list (from Selection.xml)
Password Password class is element for input password
ResetButton ResetButton class is element for render html reset button
RichText RichText class is input element for render RichText editor
RowCheckbox RowCheckbox class is input element for render RowCheckbox
SubmitButton SubmitButton class is element for render html submit button
Textarea Textarea class is element for render html Textarea

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Element

Element::$m_AllowURLParam
Element::$m_ClientValidator
Element::$m_cssClass
Element::$m_cssErrorClass
Element::$m_EventHandlers
Element::$m_FormName
Element::$m_FuzzySearch
Element::$m_Height
Element::$m_Hidden
Element::$m_HTMLAttr
Element::$m_OnEventLog
Element::$m_SortFlag
Element::$m_Style
Element::$m_Translatable
Element::$m_Validator
Element::$m_Value
Element::$m_Width

Inherited From MetaObject

MetaObject::$m_Access
MetaObject::$m_Class
MetaObject::$m_Name
MetaObject::$m_Package

Inherited From Element

Element::__construct()
Initialize Element with xml array
Element::AdjustFormName()
Adjust form name change the FormName after inherit from parent form
Element::CanDisplayed()
Check if the element can be displayed
Element::CheckRequired()
Check if element must required (must have value)
Element::GetClientValidator()
Get client validator
Element::GetContextMenu()
Get context menu
Element::GetDefaultValue()
Get default value
Element::GetFormObj()
Get form object
Element::GetFunction()
Get function of element in JavaScript format
Element::GetFunctionType()
Get function type
Element::GetHidden()
Get hidden status
Element::GetProperty()
Get property of element
Element::GetRedirectPage()
Get redirect page
Element::GetSCKeyFuncMap()
Get shortcut key function map
Element::GetStyle()
Get style of element
Element::GetText()
Get text of element
Element::GetValue()
Get value of element
Element::ReadMetaData()
Read array meta data, and store to meta object
Element::Render()
Render the element by html
Element::SetValue()
Set value of element
Element::Validate()
Validate element

Inherited From MetaObject

MetaObject::__construct()
MetaObject::AllowAccess()
MetaObject::GetProperty()
Get property
MetaObject::PrefixPackage()
Set Prefix Package
MetaObject::ReadMetaCollection()
Read metadata collection
MetaObject::ReadMetaData()
Read meta data

[ Top ]
Property Summary
mixed   $m_DefaultValue  
mixed   $m_Description  
mixed   $m_Enabled  
mixed   $m_FieldName  
mixed   $m_Label  
mixed   $m_Required  
mixed   $m_Text  

[ Top ]
Method Summary
string   AddSCKeyScript()   Add sort-cut key scripts
   GetDefaultValue()   Get default value of element
string   GetEnabled()   Get enable status
void   ReadMetaData()   Read array meta data, and store to meta object
string   Render()   Render, draw the element according to the mode just return element value
string   RenderLabel()   Render label, just return label value

[ Top ]
Properties
mixed   $m_DefaultValue = "" [line 31]
API Tags:
Access:  public


[ Top ]
mixed   $m_Description [line 30]
API Tags:
Access:  public


Redefinition of:
MetaObject::$m_Description

[ Top ]
mixed   $m_Enabled = "Y" [line 33]
API Tags:
Access:  public


[ Top ]
mixed   $m_FieldName [line 28]
API Tags:
Access:  public


[ Top ]
mixed   $m_Label [line 29]
API Tags:
Access:  public


[ Top ]
mixed   $m_Required = "N" [line 32]
API Tags:
Access:  public


Redefinition of:
Element::$m_Required

[ Top ]
mixed   $m_Text [line 34]
API Tags:
Access:  public


[ Top ]
Methods
AddSCKeyScript  [line 105]

  string AddSCKeyScript( )

Add sort-cut key scripts


API Tags:
Access:  protected


[ Top ]
GetDefaultValue  [line 62]

  GetDefaultValue( )

Get default value of element


API Tags:
Access:  public


Redefinition of:
Element::GetDefaultValue()
Get default value

[ Top ]
GetEnabled  [line 75]

  string GetEnabled( )

Get enable status


API Tags:
Access:  protected


[ Top ]
ReadMetaData  [line 42]

  void ReadMetaData( array &$xmlArr  )

Read array meta data, and store to meta object

Parameters:
array   $xmlArr: 

API Tags:
Access:  protected


Redefinition of:
Element::ReadMetaData()
Read array meta data, and store to meta object

Redefined in descendants as:

[ Top ]
Render  [line 96]

  string Render( )

Render, draw the element according to the mode just return element value


API Tags:
Return:  HTML text
Access:  public


Redefinition of:
Element::Render()
Render the element by html

Redefined in descendants as:

[ Top ]
RenderLabel  [line 86]

  string RenderLabel( )

Render label, just return label value


API Tags:
Access:  public


Redefined in descendants as:

[ Top ]

Documentation generated on Tue, 22 Dec 2009 03:03:04 -0800 by phpDocumentor 1.3.0RC3