Class MachII_framework_ViewContext

Description

Handles view display for a MachII_framework_EventContext.

Located in /MachII/framework/ViewContext.php (line 11)


	
			
Variable Summary
Method Summary
MachII_framework_ViewContext MachII_framework_ViewContext (MachII_framework_AppManager &$appManager)
void displayView (MachII_framework_Event &$event, string $viewName, [string|void $contentKey = null], [boolean $append = false])
mixed &getProperty (string $propertyName)
mixed setProperty (string $propertyName, mixed &$propertyValue)
string _getAppRoot ()
string _getFullPath (string $viewName)
Variables
MachII_framework_AppManager $_appManager (line 17)
  • access: private
Methods
Constructor MachII_framework_ViewContext (line 23)
MachII_framework_ViewContext MachII_framework_ViewContext (MachII_framework_AppManager &$appManager)
displayView (line 34)
void displayView (MachII_framework_Event &$event, string $viewName, [string|void $contentKey = null], [boolean $append = false])
  • MachII_framework_Event &$event
  • string $viewName
  • string|void $contentKey: string representation of a variable name.
  • boolean $append: whether or not to append output to the content key.
getAppManager (line 71)
MachII_framework_AppManager &getAppManager ()
getProperty (line 92)

Gets the specified property.

This is just a shortcut for getAppManager()->getPropertyManager()->getProperty().

  • return: The value of a property.
mixed &getProperty (string $propertyName)
  • string $propertyName: The name of the property to return.
setAppManager (line 80)
  • access: private
void setAppManager (MachII_framework_AppManager &$appManager)
setProperty (line 110)

Sets the specified property.

This is just a shortcut for getAppManager()->getPropertyManager()->setProperty().

mixed setProperty (string $propertyName, mixed &$propertyValue)
  • string $propertyName: The name of the property to set.
  • mixed &$propertyValue: The value to store in the property.
_getAppRoot (line 150)
  • return: the defined application root
  • access: private
string _getAppRoot ()
_getFullPath (line 125)
  • access: private
string _getFullPath (string $viewName)
  • string $viewName

Documentation generated on Thu, 20 Jan 2005 10:47:09 -0800 by phpDocumentor 1.3.0RC3