Public Member Functions | |
__construct (&$xmlArr) | |
isInFormRefLibs ($formName) | |
getSessionVars ($sessionContext) | |
setSessionVars ($sessionContext) | |
getViewSet () | |
setConsoleOutput ($consoleOutput) | |
processRule () | |
setParameters () | |
render () | |
curPageURL () | |
getCurrentPageUrl () | |
outputAttrs () | |
Data Fields | |
$m_Title | |
$m_Keywords | |
$m_TemplateEngine | |
$m_TemplateFile | |
$m_ViewSet | |
$m_Tab | |
$m_FormRefs | |
$m_IsPopup = false | |
$m_Height | |
$m_Width | |
$m_ConsoleOutput = true | |
$m_MessageFile = null | |
$m_CacheLifeTime = 0 | |
$m_LastRenderedForm | |
Protected Member Functions | |
readMetadata (&$xmlArr) | |
readTile (&$xmlArr) | |
getMessage ($msgId, $params=array()) | |
_render () | |
setClientScripts () | |
initAllForms () | |
processRequest () | |
translate () | |
getTransKey ($name) | |
Protected Attributes | |
$m_Messages |
Definition at line 26 of file EasyView.php.
__construct | ( | &$ | xmlArr ) |
Initialize EasyView with xml array
array | $xmlArr |
Reimplemented from MetaObject.
Reimplemented in DynaView.
Definition at line 53 of file EasyView.php.
_render | ( | ) | [protected] |
Render this view. This function is called by Render() or ReRender()
Definition at line 248 of file EasyView.php.
curPageURL | ( | ) |
Get current page URL NOTE: This method on next version maybe removed. New method is getCurrentPageUrl
Definition at line 294 of file EasyView.php.
getCurrentPageUrl | ( | ) |
Get current page URL
Definition at line 305 of file EasyView.php.
getMessage | ( | $ | msgId, |
$ | params = array() |
||
) | [protected] |
Get message, and translate it
<type> | $msgId message Id | |
array | $params |
Definition at line 155 of file EasyView.php.
getSessionVars | ( | $ | sessionContext ) |
Get/Retrieve Session data of this object
SessionContext | $sessionContext |
Implements iSessionObject.
Reimplemented in EasyViewWizard.
Definition at line 170 of file EasyView.php.
getViewSet | ( | ) |
initAllForms | ( | ) | [protected] |
Initialize all form objects.
Reimplemented in EasyViewWizard.
Definition at line 346 of file EasyView.php.
isInFormRefLibs | ( | $ | formName ) |
Check the Form is in the lib
string | $formName | form name |
Definition at line 126 of file EasyView.php.
outputAttrs | ( | ) |
Get output attributs
Reimplemented in EasyViewWizard.
Definition at line 410 of file EasyView.php.
processRequest | ( | ) | [protected] |
Process request
Reimplemented in EasyViewWizard.
Definition at line 363 of file EasyView.php.
processRule | ( | ) |
readMetadata | ( | &$ | xmlArr ) | [protected] |
Read Metadata from xml array
array | $xmlArr |
Reimplemented from MetaObject.
Reimplemented in EasyViewWizard.
Definition at line 64 of file EasyView.php.
render | ( | ) |
Render this view.
Definition at line 228 of file EasyView.php.
setClientScripts | ( | ) | [protected] |
Set default client javascript and css that included in the html content
Definition at line 329 of file EasyView.php.
setConsoleOutput | ( | $ | consoleOutput ) |
Set the Render output to console (as calling print ...) or to a string buffer
boolean | $consoleOutput |
Definition at line 202 of file EasyView.php.
setParameters | ( | ) |
setSessionVars | ( | $ | sessionContext ) |
Save Session data of this object
SessionContext | $sessionContext |
Implements iSessionObject.
Reimplemented in EasyViewWizard.
Definition at line 181 of file EasyView.php.