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

Class: EasyFormTree

Source Location: /easy/EasyFormTree.php

Class EasyFormTree

Class Overview

EasyFormTree class - contains formtree object metadata functions

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

MetaObject
   |
   --EasyForm
      |
      --EasyFormTree
Author(s):
  • Rocky Swen
API Tags:
Access:  public

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

Properties

Methods

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

Inherited From EasyForm

EasyForm::$DATAFORMAT
EasyForm::$m_ActionPanel
EasyForm::$m_ActiveRecord
EasyForm::$m_CacheLifeTime
EasyForm::$m_CurrentPage
EasyForm::$m_DataObj
EasyForm::$m_DataObjName
EasyForm::$m_DataPanel
EasyForm::$m_DefaultForm
EasyForm::$m_Description
EasyForm::$m_EventName
EasyForm::$m_FixSearchRule
EasyForm::$m_FormType
EasyForm::$m_hasError
EasyForm::$m_Height
EasyForm::$m_jsClass
EasyForm::$m_MessageFile
EasyForm::$m_Messages
EasyForm::$m_NavPanel
EasyForm::$m_ParentFormName
EasyForm::$m_QueryStringParam
EasyForm::$m_Range
EasyForm::$m_RecordId
EasyForm::$m_Referer
EasyForm::$m_RefreshData
EasyForm::$m_Resource
EasyForm::$m_SearchPanel
EasyForm::$m_SearchRule
EasyForm::$m_SearchRuleBindValues
EasyForm::$m_SubForms
EasyForm::$m_TemplateEngine
EasyForm::$m_TemplateFile
EasyForm::$m_Title
EasyForm::$m_TotalPages
EasyForm::$m_TotalRecords
EasyForm::$m_ValidateErrors
EasyForm::$m_Width

Inherited From MetaObject

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

Inherited From EasyForm

EasyForm::__construct()
Initialize BizForm with xml array
EasyForm::AutoSuggest()
Generate list for AutoSuggest listing. Formatted for simple of hidden inputs
EasyForm::CallService()
Call/Invoke service method, this EasyForm name is passed to the method
EasyForm::Cancel()
Cancel input and do page redirection
EasyForm::Close()
Close the popup window
EasyForm::CopyRecord()
Copy Record
EasyForm::DeleteRecord()
Delete Record NOTE: use redirectpage attr of eventhandler to redirect or redirect to previous page by default
EasyForm::EditRecord()
Edit Record NOTE: append fld:Id=$id to the redirect page url
EasyForm::FetchData()
Fetch single record
EasyForm::FetchDataSet()
Fetch record set
EasyForm::GetActiveRecord()
Get activeRecord
EasyForm::GetDataObj()
Get object instance of BizDataObj defined in it's metadata file
EasyForm::GetElement()
Get an element object
EasyForm::GetErrorElements()
Get error elements
EasyForm::GetErrorMessage()
Get error message
EasyForm::GetEventLogMsg()
Get event log message
EasyForm::GetMessage()
Get message, and translate it
EasyForm::GetNewRecord()
Get new record
EasyForm::GetOnEventElements()
Get on event elements
EasyForm::GetProperty()
Get object property
EasyForm::GetRedirectPage()
return redirect page and target array
EasyForm::GetSessionVars()
Get/Retrieve Session data of this object
EasyForm::GetSubForms()
Get sub form of this form
EasyForm::GetViewObject()
EasyForm::GotoPage()
Goto page specified by $page parameter, and ReRender
EasyForm::InsertRecord()
Insert new record
EasyForm::LoadPicker()
Popup a selection EasyForm in a dynamically generated EasyView
EasyForm::LoadPopForm()
Load pop form
EasyForm::NewRecord()
New record, be default, just redirect to the new record page
EasyForm::OutputAttrs()
Get output attributs as array
EasyForm::ProcessBDOException()
Handle the exception from DataObj method, report the error as an alert window
EasyForm::ProcessDataObjError()
Handle the error from DataObj method, report the error as an alert window
EasyForm::ProcessFormObjError()
Process error of form object
EasyForm::ProcessPostAction()
Process Post Action
EasyForm::ReadInputRecord()
Read user input data from UI
EasyForm::ReadInputs()
Read inputs
EasyForm::ReadMetadata()
Read array meta data, and store to meta object
EasyForm::RemoveRecord()
Remove the record out of the associate relationship
EasyForm::Render()
Render this form (return html content), called by EasyView's render method (called when form is loaded).
EasyForm::RenderContextMenu()
Render context menu code
EasyForm::RenderHTML()
Render html content of this form
EasyForm::RenderParent()
Render parent form
EasyForm::ReRender()
Rerender this form (form is rendered already) .
EasyForm::ReRenderSubForms()
Rerender sub forms who has dependecy on this form.
EasyForm::RunEventLog()
EasyForm::RunSearch()
Run Search
EasyForm::SaveRecord()
Save input and redirect page to a new view
EasyForm::SelectRecord()
Select Record
EasyForm::SetActiveRecord()
Set active record
EasyForm::SetClientScripts()
Set client scripts, auto add javascripts code to the page
EasyForm::SetDataObj()
Set data object (BizDataObj) with specified instant from parameter
EasyForm::SetFixSearchRule()
Set the dependent search rule of the bizform, this search rule will apply on its BizDataObj.
EasyForm::SetRequestParams()
Set request parameters
EasyForm::SetSessionVars()
Save object variable to session context
EasyForm::SetSubForms()
Set the sub forms of this form. This form is parent of other forms
EasyForm::SortRecord()
Sort Record, for list form
EasyForm::UpdateForm()
Update form controls
EasyForm::UpdateRecord()
Update record
EasyForm::ValidateForm()
EasyForm::_showForm()

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_Depth  
mixed   $m_RecordSet  
mixed   $m_RootNodes  
mixed   $m_RootSearchRule  
mixed   $m_Selected  

[ Top ]
Method Summary
void   AddNode()   Add new node
void   DeleteNode()   Delete Node
void   FetchDataSet()   Fetch DataSet, and store on active record
void   GetSessionVars()  
void   OutputAttrs()   Output attributs
void   ReadMetadata()  
void   SelectRecord()  
void   SetSessionVars()  
void   ShowChildrenNodes()   Show children nodes
void   UpdateNode()   Update Node

[ Top ]
Properties
mixed   $m_Depth = 2 [line 33]
API Tags:
Access:  public


[ Top ]
mixed   $m_RecordSet = array() [line 37]
API Tags:
Access:  protected


Redefinition of:
EasyForm::$m_RecordSet

[ Top ]
mixed   $m_RootNodes = null [line 35]
API Tags:
Access:  protected


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


[ Top ]
mixed   $m_Selected = null [line 36]
API Tags:
Access:  protected


[ Top ]
Methods
AddNode  [line 71]

  void AddNode( $parentId, string $nodeName  )

Add new node

Parameters:
   $parentId: 
string   $nodeName: 

API Tags:
Access:  public


[ Top ]
DeleteNode  [line 107]

  void DeleteNode( $nodeId  )

Delete Node

Parameters:
   $nodeId: 

API Tags:
Access:  public


[ Top ]
FetchDataSet  [line 194]

  void FetchDataSet( )

Fetch DataSet, and store on active record


API Tags:
Access:  public


Redefinition of:
EasyForm::FetchDataSet()
Fetch record set

[ Top ]
GetSessionVars  [line 46]

  void GetSessionVars( mixed $sessCtxt  )


API Tags:
Access:  public


Redefinition of:
EasyForm::GetSessionVars()
Get/Retrieve Session data of this object

[ Top ]
OutputAttrs  [line 177]

  void OutputAttrs( )

Output attributs


API Tags:
Access:  public


Redefinition of:
EasyForm::OutputAttrs()
Get output attributs as array

[ Top ]
ReadMetadata  [line 39]

  void ReadMetadata( mixed &$xmlArr  )


API Tags:
Access:  protected


Redefinition of:
EasyForm::ReadMetadata()
Read array meta data, and store to meta object

[ Top ]
SelectRecord  [line 58]

  void SelectRecord( mixed $recId  )


API Tags:
Access:  public


Redefinition of:
EasyForm::SelectRecord()
Select Record

[ Top ]
SetSessionVars  [line 52]

  void SetSessionVars( mixed $sessCtxt  )


API Tags:
Access:  public


Redefinition of:
EasyForm::SetSessionVars()
Save object variable to session context

[ Top ]
ShowChildrenNodes  [line 212]

  void ShowChildrenNodes( )

Show children nodes


API Tags:
Access:  public


[ Top ]
UpdateNode  [line 149]

  void UpdateNode( $nodeId, string $nodeName  )

Update Node

Parameters:
   $nodeId: 
string   $nodeName: 

API Tags:
Access:  public


[ Top ]

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