Inline moderation actions for profile posts
Provides helper functions for inline mod interactions, provided the inline mod model functions follow the correct convention.
| package | XenForo_ProfilePost |
|---|
__construct(\Zend_Controller_Request_Http $request, \Zend_Controller_Response_Http $response, \XenForo_RouteMatch $routeMatch)
| inherited_from | \XenForo_Controller::__construct() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::__construct() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::__construct() |
\Zend_Controller_Request_Http
\Zend_Controller_Response_Http
\XenForo_RouteMatch
actionApprove() : \XenForo_ControllerResponse_Abstract
actionChoose()
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::actionChoose() |
|---|
actionDelete() : \XenForo_ControllerResponse_Abstract
actionDeselect() : \XenForo_ControllerResponse_Abstract
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::actionDeselect() |
|---|
actionSwitch() : \XenForo_ControllerResponse_Reroute
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::actionSwitch() |
|---|
actionUnapprove() : \XenForo_ControllerResponse_Abstract
actionUndelete() : \XenForo_ControllerResponse_Abstract
assertNotFlooding(string $action, integer | null $floodingLimit)
Throws a response exception if flooding occurs.
| inherited_from | \XenForo_ControllerPublic_Abstract::assertNotFlooding() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::assertNotFlooding() |
string
integernull
canUpdateSessionActivity(string $controllerName, string $action, string $newState) : boolean
Override this in specific controllers if you want action-specific behaviour.
| inherited_from | \XenForo_Controller::canUpdateSessionActivity() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::canUpdateSessionActivity() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::canUpdateSessionActivity() |
string
string
string
booleancanonicalizePageNumber(integer $page, integer $perPage, integer $total, string $linkType, mixed $linkData)
If it's not valid, the page is redirected to the last valid page (via a response exception).
| inherited_from | \XenForo_Controller::canonicalizePageNumber() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::canonicalizePageNumber() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::canonicalizePageNumber() |
integer
integer
integer
string
mixed
canonicalizeRequestUrl(string $linkUrl)
Canonicalization will only happen when requesting an HTML page, as it is primarily an SEO benefit.
A response exception will be thrown is redirection is required.
| inherited_from | \XenForo_Controller::canonicalizeRequestUrl() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::canonicalizeRequestUrl() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::canonicalizeRequestUrl() |
string
clearCookie()
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::clearCookie() |
|---|
executeInlineModAction(string $functionName, array $options, array $setupOptions) : \XenForo_ControllerResponse_Redirect
This is a helper to wrap up the boilerplate code. Checks for post, executes the action, and returns the redirect response.
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::executeInlineModAction() |
|---|
stringName of function to call in the inline mod model
arrayList of options to pass to function
arrayOptions that control the setup and calling of the function
getDynamicRedirect(string | false $fallbackUrl, boolean $useReferrer) : string
| inherited_from | \XenForo_Controller::getDynamicRedirect() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getDynamicRedirect() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getDynamicRedirect() |
stringfalseFallback if no redirect or referrer is available; if false, uses index
booleanTrue uses the referrer if no redirect param is available
stringgetErrorOrNoPermissionResponseException(string | \XenForo_Phrase | mixed $errorPhraseKey, boolean $stringToPhrase) : \XenForo_ControllerResponse_Exception
If the first param is a string and $stringToPhrase is true, it will be treated as a phrase key and turned into a phrase.
If a specific phrase is requested, a general error will be thrown. Otherwise, a generic no permission error will be shown.
| inherited_from | \XenForo_Controller::getErrorOrNoPermissionResponseException() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getErrorOrNoPermissionResponseException() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getErrorOrNoPermissionResponseException() |
string\XenForo_PhrasemixedA phrase key, a phrase object, or hard coded text. Or, may be empty.
booleanIf true and the $errorPhraseKey is a string, $errorPhraseKey is treated as the name of a phrase.
getHelper(string $class) : \XenForo_ControllerHelper_Abstract
If no underscore is present in the class name, "XenForo_ControllerHelper_" is prefixed. Otherwise, a full class name is assumed.
| inherited_from | \XenForo_Controller::getHelper() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getHelper() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getHelper() |
stringFull class name, or partial suffix (if no underscore)
getInlineModIds(boolean $fromCookie) : array
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getInlineModIds() |
|---|
booleanTrue to read from the cookie input
arraygetInlineModTypeModel() : \XenForo_Model_InlineMod_ProfilePost
getInput() : \XenForo_Input
| inherited_from | \XenForo_Controller::getInput() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getInput() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getInput() |
getModelFromCache(string $class) : \XenForo_Model
If it does not exist, it will be instantiated.
| inherited_from | \XenForo_Controller::getModelFromCache() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getModelFromCache() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getModelFromCache() |
stringName of the class to load
getNoPermissionResponseException() : \XenForo_ControllerResponse_Exception
| inherited_from | \XenForo_Controller::getNoPermissionResponseException() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getNoPermissionResponseException() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getNoPermissionResponseException() |
getRecordOrError(mixed $id, \XenForo_Model $model, string $method, string $errorPhraseKey) : array
| inherited_from | \XenForo_Controller::getRecordOrError() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getRecordOrError() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getRecordOrError() |
mixedID of the record to get
stringMethod to call in the model object
stringKey of error phrase to use when not found
arraygetRequest() : \Zend_Controller_Request_Http
| inherited_from | \XenForo_Controller::getRequest() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getRequest() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getRequest() |
\Zend_Controller_Request_HttpgetResponseType() : string
| inherited_from | \XenForo_Controller::getResponseType() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getResponseType() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getResponseType() |
stringgetRouteMatch() : \XenForo_RouteMatch
This can be modified to change the response type, and the major/minor sections that will be used to setup navigation.
| inherited_from | \XenForo_Controller::getRouteMatch() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getRouteMatch() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getRouteMatch() |
getSessionActivityDetailsForList(array $activities) : mixed
This must check the visiting user's permissions before returning item info. Return value may be: * false - means page is unknown * string/XenForo_Phrase - gives description for all, but no item details * array (keyed by activity keys) of strings/XenForo_Phrase objects - individual description, no item details * array (keyed by activity keys) of arrays. Sub-arrays keys: 0 = description, 1 = specific item title, 2 = specific item url.
| see | \XenForo_Controller::getSessionActivityDetailsForList() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getSessionActivityDetailsForList() |
arrayList of activity records
mixedSee above.getViewStateChanges() : array
| inherited_from | \XenForo_Controller::getViewStateChanges() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::getViewStateChanges() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::getViewStateChanges() |
arrayKey-value pairsipMatch(string | array $checkIps, array $ipList) : boolean
| inherited_from | \XenForo_Controller::ipMatch() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::ipMatch() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::ipMatch() |
stringarrayIP address(es)
arrayList of IP addresses
booleanisConfirmedPost() : boolean
| inherited_from | \XenForo_Controller::isConfirmedPost() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::isConfirmedPost() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::isConfirmedPost() |
booleanpostDispatch(mixed $controllerResponse, string $controllerName, string $action)
| inherited_from | \XenForo_Controller::postDispatch() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::postDispatch() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::postDispatch() |
mixedThe response from the controller. Generally, a XenForo_ControllerResponse_Abstract object.
stringThe name of the final controller that was invoked
stringThe name of the final action that was invoked
preDispatch(string $action)
| inherited_from | \XenForo_Controller::preDispatch() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::preDispatch() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::preDispatch() |
stringAction that is requested
responseCaptchaFailed() : \XenForo_ControllerResponse_Error
| inherited_from | \XenForo_Controller::responseCaptchaFailed() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::responseCaptchaFailed() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::responseCaptchaFailed() |
responseError(string | array $error, integer $responseCode, array $containerParams) : \XenForo_ControllerResponse_Error
| inherited_from | \XenForo_Controller::responseError() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::responseError() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::responseError() |
stringarrayError text to be use
integerAn optional HTTP response code to output
arrayKey-value pairs of parameters to pass to the container view
responseException(\XenForo_ControllerResponse_Abstract $controllerResponse, integer $responseCode) : \XenForo_ControllerResponse_Exception
This object cannot be returned from the controller; an exception must be thrown with it.
This allows any type of controller response to be invoked via an exception.
| inherited_from | \XenForo_Controller::responseException() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::responseException() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::responseException() |
integerHTTP response code
responseFlooding(integer $floodSeconds) : \XenForo_ControllerResponse_Error
| inherited_from | \XenForo_Controller::responseFlooding() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::responseFlooding() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::responseFlooding() |
integerNumbers of seconds the user must wait to perform the action
responseMessage(string $message, array $containerParams) : \XenForo_ControllerResponse_Message
| inherited_from | \XenForo_Controller::responseMessage() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::responseMessage() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::responseMessage() |
stringError text to be use
arrayKey-value pairs of parameters to pass to the container view
responseNoPermission() : \XenForo_ControllerResponse_Error
| inherited_from | \XenForo_ControllerPublic_Abstract::responseNoPermission() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::responseNoPermission() |
responseRedirect(integer $redirectType, string $redirectTarget, mixed $redirectMessage, array $redirectParams) : \XenForo_ControllerResponse_Redirect
This will happen in a separate request.
| inherited_from | \XenForo_Controller::responseRedirect() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::responseRedirect() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::responseRedirect() |
integerSee {@link XenForo_ControllerResponse_Redirect}
stringTarget to redirect to
mixedMessage with which to redirect
arrayExtra parameters for the redirect
responseReroute(string $controllerName, string $action, array $containerParams) : \XenForo_ControllerResponse_Reroute
| inherited_from | \XenForo_Controller::responseReroute() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::responseReroute() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::responseReroute() |
stringName of the controller to reroute to
stringName of the action to reroute to
arrayKey-value pairs of parameters to pass to the container view
responseView(string $viewName, string $templateName, array $params, array $containerParams) : \XenForo_ControllerResponse_View
| inherited_from | \XenForo_Controller::responseView() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::responseView() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::responseView() |
stringName of the view class to be rendered
stringName of the template that should be displayed (may be ignored by view)
arrayKey-value pairs of parameters to pass to the view
arrayKey-value pairs of parameters to pass to the container view
setViewStateChange(string $state, mixed $data)
| inherited_from | \XenForo_Controller::setViewStateChange() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::setViewStateChange() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::setViewStateChange() |
stringName of state to change
mixed
updateSession(mixed $controllerResponse, string $controllerName, string $action)
This should run on all pages, provided they not rerouting to another controller. Session saving should handle double calls, if they happen.
| inherited_from | \XenForo_Controller::updateSession() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::updateSession() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::updateSession() |
mixedThe response from the controller. Generally, a XenForo_ControllerResponse_Abstract object.
string
string
updateSessionActivity(mixed $controllerResponse, string $controllerName, string $action)
| inherited_from | \XenForo_Controller::updateSessionActivity() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::updateSessionActivity() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::updateSessionActivity() |
mixedThe response from the controller. Generally, a XenForo_ControllerResponse_Abstract object.
string
string
_assertBoardActive(string $action)
| inherited_from | \XenForo_ControllerPublic_Abstract::_assertBoardActive() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_assertBoardActive() |
string
_assertCorrectVersion(string $action)
| inherited_from | \XenForo_ControllerPublic_Abstract::_assertCorrectVersion() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_assertCorrectVersion() |
string
_assertIpNotBanned()
| inherited_from | \XenForo_ControllerPublic_Abstract::_assertIpNotBanned() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_assertIpNotBanned() |
_assertNotBanned()
| inherited_from | \XenForo_ControllerPublic_Abstract::_assertNotBanned() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_assertNotBanned() |
_assertPostOnly()
Throws an exception if the request is not via POST.
| inherited_from | \XenForo_Controller::_assertPostOnly() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_assertPostOnly() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_assertPostOnly() |
_assertRegistrationRequired()
Throws an exception for visitors that do not meet these criteria.
| inherited_from | \XenForo_ControllerPublic_Abstract::_assertRegistrationRequired() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_assertRegistrationRequired() |
_assertViewingPermissions(string $action)
| inherited_from | \XenForo_ControllerPublic_Abstract::_assertViewingPermissions() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_assertViewingPermissions() |
string
_buildLink(string $type, mixed $data, array $params) : string
As of this writing, only canonicalizePageNumber uses this function.
| inherited_from | \XenForo_ControllerPublic_Abstract::_buildLink() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_buildLink() |
string
mixed
array
stringURL for link_checkCsrf(string $action)
This is only checked for POST requests (with session info) that aren't Ajax requests (relies on browser-level cross-domain policies).
The token is retrieved from the "_xfToken" request param.
| inherited_from | \XenForo_Controller::_checkCsrf() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_checkCsrf() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_checkCsrf() |
string
_checkCsrfFromToken(string $token, boolean $throw) : boolean
Throws an exception if a CSRF issue is detected.
| inherited_from | \XenForo_Controller::_checkCsrfFromToken() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_checkCsrfFromToken() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_checkCsrfFromToken() |
stringFormat:
booleanIf true, an exception is thrown when failing; otherwise, a return is used
booleanTrue if passed, false otherwise; only applies when $throw is false_deleteData(string $dataWriterName, string | array $existingDataKeyName, string $redirectLink, string $redirectMessage)
| inherited_from | \XenForo_Controller::_deleteData() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_deleteData() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_deleteData() |
stringName of DataWriter class that will perform the deletion
stringarrayName of input parameter that contains the existing data key OR array containing the keys for a multi-key parameter
stringURL to which to redirect on success
stringRedirection message to show on successful deletion
_discourage(string $action)
| inherited_from | \XenForo_ControllerPublic_Abstract::_discourage() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_discourage() |
string
_getClientIps() :
| inherited_from | \XenForo_Controller::_getClientIps() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_getClientIps() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_getClientIps() |
_getFieldValidationInputParams() : array
Primarily used for AJAX autovalidation actions of single fields.
| inherited_from | \XenForo_Controller::_getFieldValidationInputParams() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_getFieldValidationInputParams() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_getFieldValidationInputParams() |
array[name, value, existingDataKey]_getIgnoredContentUserNames(array $records) : array
| inherited_from | \XenForo_ControllerPublic_Abstract::_getIgnoredContentUserNames() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_getIgnoredContentUserNames() |
arrayArray of content (or may be a single record)
array[user id] => user name_getInlineModProfilePostModel() : \XenForo_Model_InlineMod_ProfilePost
_getInputFromSerialized(string $varname, boolean $throw, string $errorPhraseKey) : \XenForo_Input | false
| inherited_from | \XenForo_Controller::_getInputFromSerialized() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_getInputFromSerialized() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_getInputFromSerialized() |
stringName of index to fetch from $this->_input
booleanOn error, throw an exception or return false
string
\XenForo_Inputfalse
_getRegistrationContainerParams() : array
| inherited_from | \XenForo_ControllerPublic_Abstract::_getRegistrationContainerParams() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_getRegistrationContainerParams() |
array_handlePost(string $action)
| inherited_from | \XenForo_Controller::_handlePost() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_handlePost() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_handlePost() |
string
_isDiscouraged() : boolean
| inherited_from | \XenForo_ControllerPublic_Abstract::_isDiscouraged() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_isDiscouraged() |
boolean_noRedirect() : boolean
| inherited_from | \XenForo_Controller::_noRedirect() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_noRedirect() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_noRedirect() |
boolean_postDispatch(mixed $controllerResponse, string $controllerName, string $action)
| inherited_from | \XenForo_Controller::_postDispatch() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_postDispatch() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_postDispatch() |
mixedThe response from the controller. Generally, a XenForo_ControllerResponse_Abstract object.
stringThe name of the final controller that was invoked
stringThe name of the final action that was invoked
_postDispatchType(mixed $controllerResponse, string $controllerName, string $action)
This differs from _postDispatch() in that it is designed for abstract controller type classes to override. Specific controllers should override _postDispatch instead.
| inherited_from | \XenForo_Controller::_postDispatchType() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_postDispatchType() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_postDispatchType() |
mixedThe response from the controller. Generally, a XenForo_ControllerResponse_Abstract object.
stringThe name of the final controller that was invoked
stringThe name of the final action that was invoked
_preDispatch(string $action)
This method should only be overridden by specific, concrete controllers.
| inherited_from | \XenForo_Controller::_preDispatch() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_preDispatch() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_preDispatch() |
stringAction that is requested
_preDispatchFirst(string $action)
| inherited_from | \XenForo_Controller::_preDispatchFirst() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_preDispatchFirst() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_preDispatchFirst() |
string
_preDispatchType(string $action)
This differs from _preDispatch() in that it is designed for abstract controller type classes to override. Specific controllers should override _preDispatch instead.
| inherited_from | \XenForo_ControllerPublic_Abstract::_preDispatchType() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_preDispatchType() |
stringAction that is requested
_setupSession(string $action)
| inherited_from | \XenForo_Controller::_setupSession() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_setupSession() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_setupSession() |
string
_updateAdminSessionCaches()
| inherited_from | \XenForo_ControllerPublic_Abstract::_updateAdminSessionCaches() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_updateAdminSessionCaches() |
_updateAdminSessionModerationCounts()
| inherited_from | \XenForo_ControllerPublic_Abstract::_updateAdminSessionModerationCounts() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_updateAdminSessionModerationCounts() |
_updateDismissedNoticeSessionCache()
| inherited_from | \XenForo_ControllerPublic_Abstract::_updateDismissedNoticeSessionCache() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_updateDismissedNoticeSessionCache() |
_updateModeratorSessionCaches()
| inherited_from | \XenForo_ControllerPublic_Abstract::_updateModeratorSessionCaches() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_updateModeratorSessionCaches() |
_updateModeratorSessionModerationCounts()
| inherited_from | \XenForo_ControllerPublic_Abstract::_updateModeratorSessionModerationCounts() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_updateModeratorSessionModerationCounts() |
_updateModeratorSessionReportCounts()
| inherited_from | \XenForo_ControllerPublic_Abstract::_updateModeratorSessionReportCounts() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_updateModeratorSessionReportCounts() |
_validateField(string $dataWriterName, array $data, array $options, array $extraData) : \XenForo_ControllerResponse_Redirect | \XenForo_ControllerResponse_Error
Expects 'name' and 'value' keys to be present in the request.
| inherited_from | \XenForo_Controller::_validateField() |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::_validateField() |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::_validateField() |
stringName of DataWriter against which this field will be validated
arrayArray containing name, value or existingDataKey, which will override those fetched from _getFieldValidationInputParams
arrayKey-value pairs of options to set
arrayKey-value pairs of extra data to set
$inlineModKey : string
Eg, posts or threads.
$_executed : array
| inherited_from | \XenForo_Controller::$$_executed |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::$$_executed |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::$$_executed |
$_input : \XenForo_Input
| inherited_from | \XenForo_Controller::$$_input |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::$$_input |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::$$_input |
$_modelCache : array
| inherited_from | \XenForo_Controller::$$_modelCache |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::$$_modelCache |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::$$_modelCache |
$_request : \Zend_Controller_Request_Http
| inherited_from | \XenForo_Controller::$$_request |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::$$_request |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::$$_request |
$_response : \Zend_Controller_Response_Http
| inherited_from | \XenForo_Controller::$$_response |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::$$_response |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::$$_response |
$_routeMatch : \XenForo_RouteMatch
| inherited_from | \XenForo_Controller::$$_routeMatch |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::$$_routeMatch |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::$$_routeMatch |
$_viewStateChanges : array
View state changes are specific to the dependency manager, but may include things like changing the styleId.
| inherited_from | \XenForo_Controller::$$_viewStateChanges |
|---|---|
| inherited_from | \XenForo_ControllerPublic_Abstract::$$_viewStateChanges |
| inherited_from | \XenForo_ControllerPublic_InlineMod_Abstract::$$_viewStateChanges |