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

Class: LabelText

Source Location: /easy/element/LabelText.php

Class LabelText

Class Overview

LebelText - class LabelText is element that view value who binds with a BizField

Located in /easy/element/LabelText.php [line 29]

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

Information Tags:
Version:  1.0
Copyright:  Copyright (c) 2009

Properties

Methods

[ Top ]
Direct descendents
Child Class Description
ColumnText ColumnText class is element for ColumnText, show text on data list
LabelPassword LabelPassword class is element that show text with mask (for password)

[ 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_Required
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_Description
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_FieldName  
mixed   $m_Label  
mixed   $m_Link  
mixed   $m_Target  
mixed   $m_Text  

[ Top ]
Method Summary
string   GetLink()   Get link of LabelText
string   GetTarget()   Get target of link <a target='...'>...</a>
string   GetText()   Get text of label
void   ReadMetaData()   Read array meta data, and store to meta object
string   Render()   Render, draw the element according to the mode
string   RenderLabel()   Render label

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


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


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


[ Top ]
mixed   $m_Target [line 35]
API Tags:
Access:  public


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


[ Top ]
Methods
GetLink  [line 73]

  string GetLink( )

Get link of LabelText


API Tags:
Access:  protected


[ Top ]
GetTarget  [line 59]

  string GetTarget( )

Get target of link <a target='...'>...</a>


API Tags:
Access:  protected


[ Top ]
GetText  [line 86]

  string GetText( )

Get text of label


API Tags:
Access:  protected


Redefinition of:
Element::GetText()
Get text of element

[ Top ]
ReadMetaData  [line 43]

  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 109]

  string Render( )

Render, draw the element according to the mode


API Tags:
Return:  HTML text
Access:  public


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

Redefined in descendants as:

[ Top ]
RenderLabel  [line 99]

  string RenderLabel( )

Render label


API Tags:
Return:  HTML text
Access:  public


Redefined in descendants as:
  • ColumnText::RenderLabel() : Render label, When render table, it return the table header; when render array, it return the display name

[ Top ]

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