MachII_framework_ViewContext
__construct
(MachII_framework_AppManager $appManager)
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.
Gets the specified property.
This is just a shortcut for getAppManager()->getPropertyManager()->getProperty().
mixed
getProperty
(string $propertyName)
-
string
$propertyName: The name of the property to return.
void
setAppManager
(MachII_framework_AppManager $appManager)
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.
string
_getFullPath
(string $viewName)