allowControllerDispatch()
createTemplateObject()
getBaseViewClassName()
getEffectiveContainerParams()
getExtraContainerData()
getJquerySource()
getNotFoundErrorRoute()
getServerErrorRoute()
getViewRenderer()
mergeViewStateChanges()
preLoadData()
preRenderView()
preloadTemplate()
route()
_getCronContainerParams()
_handleCustomPreloadedData()
$templateClass
$_dataPreLoadFromRegistry
$_defaultTemplateParams
$_viewStateChanges
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.
mixed
Likely a XenForo_Controller object, but not guaranteed
string
Name of the action to call
boolean
createTemplateObject(string $templateName, array $params) : \XenForo_Template_Admin
string
Name of the template to be used
array
Key-value parameters to pass to the template
getBaseViewClassName() : string
string
getEffectiveContainerParams(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 | \global\XenForo_Dependencies_Abstract::getEffectiveContainerParams |
---|
array
Container params from the controller/view
\Zend_Controller_Request_Http
array
getExtraContainerData() : array
array
getJquerySource(boolean $forceLocal) : string
inherited_from | \XenForo_Dependencies_Abstract::getJquerySource() |
---|
boolean
If true, forces the local version of jQuery
string
getNotFoundErrorRoute() : array
array
Format: [0] => controller name, [1] => actiongetServerErrorRoute() : array
array
Format: [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_Http
Response object
string
Type of response
\Zend_Controller_Request_Http
Request object
mergeViewStateChanges(array $states)
inherited_from | \XenForo_Dependencies_Abstract::mergeViewStateChanges() |
---|
array
Key-value pairs
preLoadData()
preRenderView(\XenForo_ControllerResponse_Abstract $controllerResponse)
preloadTemplate(string $templateName)
string
Template name
route(\Zend_Controller_Request_Http $request) : \XenForo_RouteMatch
see | \global\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() |
---|
array
Data 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 |
---|