Handles front controller dependencies for install/upgrade pages.
| package | XenForo_Mvc |
|---|
allowControllerDispatch(mixed $controller, string $action) : boolean
Use this function to ensure, for example, that an admin page only shows an admin controller.
mixedLikely a XenForo_Controller object, but not guaranteed
stringName of the action to call
booleancreateTemplateObject(string $templateName, array $params) : \XenForo_Template_Admin
stringName of the template to be used
arrayKey-value parameters to pass to the template
getBaseViewClassName() : string
stringgetEffectiveContainerParams(array $params, \Zend_Controller_Request_Http $request) : array
This includes combining and specific container params with any global ones. For example, a specific container param may refer to the section the page is in, so this function could load the other options that are specific to this section.
| see | \XenForo_Dependencies_Abstract::getEffectiveContainerParams |
|---|
arrayContainer params from the controller/view
\Zend_Controller_Request_Http
arraygetExtraContainerData() : array
arraygetJquerySource(boolean $forceLocal) : string
| inherited_from | \XenForo_Dependencies_Abstract::getJquerySource() |
|---|
booleanIf true, forces the local version of jQuery
stringgetNotFoundErrorRoute() : array
arrayFormat: [0] => controller name, [1] => actiongetServerErrorRoute() : array
arrayFormat: [0] => controller name, [1] => actiongetViewRenderer(\Zend_Controller_Response_Http $response, string $responseType, \Zend_Controller_Request_Http $request) : \XenForo_ViewRenderer_Abstract | false
If an invalid type is specified, false is returned.
\Zend_Controller_Response_HttpResponse object
stringType of response
\Zend_Controller_Request_HttpRequest object
mergeViewStateChanges(array $states)
| inherited_from | \XenForo_Dependencies_Abstract::mergeViewStateChanges() |
|---|
arrayKey-value pairs
preLoadData()
preRenderView(\XenForo_ControllerResponse_Abstract $controllerResponse)
preloadTemplate(string $templateName)
stringTemplate name
route(\Zend_Controller_Request_Http $request) : \XenForo_RouteMatch
| see | \XenForo_Dependencies_Abstract::route() |
|---|
\Zend_Controller_Request_Http
_getCronContainerParams() : array
| inherited_from | \XenForo_Dependencies_Abstract::_getCronContainerParams() |
|---|
array_handleCustomPreloadedData(array $data)
| inherited_from | \XenForo_Dependencies_Abstract::_handleCustomPreloadedData() |
|---|
arrayData that was loaded. Unsuccessfully loaded items will have a value of null
$templateClass
$_dataPreLoadFromRegistry : array
You must process this data via _handleCustomPreLoadedData().
| inherited_from | \XenForo_Dependencies_Abstract::$$_dataPreLoadFromRegistry |
|---|
$_defaultTemplateParams : array
Conflicting params are overridden by specific template params.
| inherited_from | \XenForo_Dependencies_Abstract::$$_defaultTemplateParams |
|---|
$_viewStateChanges : array
This will be used to modify how view rendering is done. For example, pages that want an explicit style ID can set it here.
| inherited_from | \XenForo_Dependencies_Abstract::$$_viewStateChanges |
|---|