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

Class: Panel

Source Location: /easy/Panel.php

Class Panel

Class Overview

Panel class is the base class of Panel that embeded in EasyForm

Located in /easy/Panel.php [line 26]

MetaIterator
   |
   --Panel
Author(s):
  • Rocky Swen
API Tags:
Access:  public

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

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Method Summary
Element   getByField()   Get element by field,
string   Render()   Render the Panel and return array of rendering element (html text)
string   RenderRecord()   Render record
array   RenderTable()   Render table and return an array with 3 sub arraies (elems, data, ids)
void   SetRecordArr()   Set record array TODO: change field=>value to element=>value

[ Top ]
Methods
getByField  [line 131]

  Element getByField( $fieldName  )

Get element by field,

Parameters:
   $fieldName: 

API Tags:
Access:  public

Information Tags:
Todo:  change name to getElementByField() or Add new wrapping method

[ Top ]
Render  [line 33]

  string Render( )

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


API Tags:
Return:  - html text
Access:  public


[ Top ]
RenderRecord  [line 65]

  string RenderRecord( array &$recArr  )

Render record

Parameters:
array   $recArr: 

API Tags:
Return:  - html text
Access:  public


[ Top ]
RenderTable  [line 78]

  array RenderTable( array &$recSet  )

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

Parameters:
array   $recSet: 

API Tags:
Access:  public


[ Top ]
SetRecordArr  [line 112]

  void SetRecordArr( array &$recArr  )

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

Parameters:
array   $recArr: 

API Tags:
Access:  public


[ Top ]

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