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

Class: PickerForm

Source Location: /easy/PickerForm.php

Class PickerForm

Class Overview

PickerForm class - contains form object metadata functions for picker

Located in /easy/PickerForm.php [line 25]

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

Information Tags:
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_RecordSet
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
string   $m_ParentFormElemName  
string   $m_PickerMap  

[ Top ]
Method Summary
void   AddToParent()   Add a record (popup) to the parent form if OK button clicked, (M-M or M-1/1-1)
void   GetSessionVars()   Get/Retrieve Session data of this object
void   JoinToParent()   Join a record (popup) to parent form
void   PickToParent()   Pick data to parent form
void   SetParentFormData()   Set parent form data/informations
void   SetSessionVars()   Save object variable to session context

[ Top ]
Properties
string   $m_ParentFormElemName = "" [line 31]
API Tags:
Access:  public


[ Top ]
string   $m_PickerMap = "" [line 37]
API Tags:
Access:  public


[ Top ]
Methods
AddToParent  [line 147]

  void AddToParent( [mixed $recId = null]  )

Add a record (popup) to the parent form if OK button clicked, (M-M or M-1/1-1)


API Tags:
Access:  public


[ Top ]
GetSessionVars  [line 45]

  void GetSessionVars( SessionContext $sessionContext  )

Get/Retrieve Session data of this object

Parameters:
SessionContext   $sessionContext: 

API Tags:
Access:  public


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

[ Top ]
JoinToParent  [line 112]

  void JoinToParent( [ $recId = null]  )

Join a record (popup) to parent form

Parameters:
   $recId: 

API Tags:
Access:  public


[ Top ]
PickToParent  [line 86]

  void PickToParent( [ $recId = null]  )

Pick data to parent form

Parameters:
   $recId: 

API Tags:
Access:  public


[ Top ]
SetParentFormData  [line 73]

  void SetParentFormData( string $formName, [string $elemName = null], [string $pickerMap = null]  )

Set parent form data/informations

Parameters:
string   $formName: 
string   $elemName: 
string   $pickerMap: 

API Tags:
Access:  public


[ Top ]
SetSessionVars  [line 58]

  void SetSessionVars( SessionContext $sessionContext  )

Save object variable to session context

Parameters:
SessionContext   $sessionContext: 

API Tags:
Access:  public


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

[ Top ]

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