Public Member Functions | Protected Member Functions | Protected Attributes

EasyViewWizard Class Reference

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

Public Member Functions

 getSessionVars ($sessionContext)
 setSessionVars ($sessionContext)
 getCurrentStep ()
 renderStep ($step)
 getFormInputs ($formName)
 setFormState ($formName, $state, $value)
 commit ()
 cancel ()
 outputAttrs ()

Protected Member Functions

 readMetadata (&$xmlArr)
 initAllForms ()
 processRequest ()
 getStepName ($step)

Protected Attributes

 $m_CurrentStep
 $m_FormStates
 $m_DropSession = false
 $m_NaviMethod = 'SwitchPage'

Detailed Description

Definition at line 25 of file EasyViewWizard.php.


Member Function Documentation

cancel (  )

Cancel, clean up the sessions of view and all forms

Returns:
void

Definition at line 231 of file EasyViewWizard.php.

Here is the call graph for this function:

commit (  )

Save wizard data of current+previous pages into database or other storage

Returns:
void

Definition at line 200 of file EasyViewWizard.php.

Here is the call graph for this function:

getCurrentStep (  )

Get current step

Returns:
number

Definition at line 116 of file EasyViewWizard.php.

Here is the caller graph for this function:

getFormInputs ( formName )

Get form inputs

Parameters:
string$formName
Returns:
array

Definition at line 175 of file EasyViewWizard.php.

Here is the call graph for this function:

getSessionVars ( sessionContext )

Get/Retrieve Session data of this object

Parameters:
SessionContext$sessionContext
Returns:
void

Reimplemented from EasyView.

Definition at line 43 of file EasyViewWizard.php.

initAllForms (  ) [protected]

Initialize all form objects. NOTE: Do not initiate the all forms

Returns:
void

Reimplemented from EasyView.

Definition at line 72 of file EasyViewWizard.php.

outputAttrs (  )

Get output attributs

Returns:
array
Todo:
need to raname to getOutputAttributs() or getAttributes

Reimplemented from EasyView.

Definition at line 248 of file EasyViewWizard.php.

processRequest (  ) [protected]

Process request

Returns:
void

Reimplemented from EasyView.

Definition at line 81 of file EasyViewWizard.php.

Here is the call graph for this function:

readMetadata ( &$  xmlArr ) [protected]

Read Metadata from xml array

Parameters:
array$xmlArr
Returns:
void

Reimplemented from EasyView.

Definition at line 32 of file EasyViewWizard.php.

renderStep ( step )

Render step

Parameters:
number$step
Returns:
void

Definition at line 142 of file EasyViewWizard.php.

Here is the call graph for this function:

setFormState ( formName,
state,
value 
)

Set form state

Parameters:
string$formNameform name
mixed$statestate key
mixed$value
Returns:
void

Definition at line 190 of file EasyViewWizard.php.

setSessionVars ( sessionContext )

Save Session data of this object

Parameters:
SessionContext$sessionContext
Returns:
void

Reimplemented from EasyView.

Definition at line 55 of file EasyViewWizard.php.


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