Public Member Functions | Data Fields | Protected Member Functions

Panel Class Reference

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

Public Member Functions

 __construct (&$xmlArr, $childClassName, $parentObj=null)
 render ()
 renderRecord (&$recArr)
 renderTable (&$recSet)
 setRecordArr (&$recArr)
 getByField ($fieldName)

Data Fields

 $m_FormName

Protected Member Functions

 getFormObj ()

Detailed Description

Definition at line 26 of file Panel.php.


Constructor & Destructor Documentation

__construct ( &$  xmlArr,
childClassName,
parentObj = null 
)

Contructor of class

Parameters:
array$xmlArr
string$childClassName
object$parentObj
Returns:
void

If a '.' is found within className we need to require such class and then get the className after the last dot ex. shared.dataobjs.FieldName, in this case FieldName is the class, shared/dataobjs the path

The best solution to this is enable object factory to specify its resulting object constructor parameters

Reimplemented from MetaIterator.

Definition at line 30 of file Panel.php.


Member Function Documentation

getByField ( fieldName )

Get element by field,

Parameters:
<type>$fieldName
Todo:
change name to getElementByField() or Add new wrapping method
Returns:
Element

Definition at line 166 of file Panel.php.

render (  )

Render the Panel and return array of rendering element (html text)

Returns:
string - html text

Implements iUIControl.

Definition at line 45 of file Panel.php.

Here is the caller graph for this function:

renderRecord ( &$  recArr )

Render record

Parameters:
array$recArr
Returns:
string - html text

Definition at line 83 of file Panel.php.

Here is the call graph for this function:

renderTable ( &$  recSet )

Render table and return an array with 3 sub arraies (elems, data, ids)

Parameters:
array$recSet
Returns:
array

Definition at line 96 of file Panel.php.

Here is the call graph for this function:

setRecordArr ( &$  recArr )

Set record array TODO: change field=>value to element=>value

Parameters:
array$recArr
Returns:
void

Definition at line 132 of file Panel.php.

Here is the caller graph for this function:


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