Class MachII_framework_ViewContext

Description

Handles view display for a MachII_framework_EventContext.

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


	
			
Method Summary
MachII_framework_ViewContext __construct (MachII_framework_AppManager $appManager)
void displayView (MachII_framework_Event $event, string $viewName, [string|void $contentKey = null], [boolean $append = false])
mixed getProperty (string $propertyName)
void setAppManager (MachII_framework_AppManager $appManager)
mixed setProperty (string $propertyName, mixed $propertyValue)
string _getAppRoot ()
string _getFullPath (string $viewName)
Methods
Constructor __construct (line 23)
MachII_framework_ViewContext __construct (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 68)
MachII_framework_AppManager getAppManager ()
getProperty (line 89)

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 77)
  • access: private
void setAppManager (MachII_framework_AppManager $appManager)
setProperty (line 106)

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 140)
  • return: the defined application root
  • access: private
string _getAppRoot ()
_getFullPath (line 120)
  • access: private
string _getFullPath (string $viewName)
  • string $viewName

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