BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
BlueSpice\Hook Class Reference

Inherited by BlueSpice\Hook\ArticleDeleteComplete, BlueSpice\Hook\BeforeNotificationsInit, BlueSpice\Hook\BeforePageDisplay, BlueSpice\Hook\BsAdapterAjaxPingResult, BlueSpice\Hook\BSApiExtJSDBTableStoreAfterQuery, BlueSpice\Hook\BSApiExtJSDBTableStoreBeforeQuery, BlueSpice\Hook\BSApiExtJSStoreBaseAfterFilterData, BlueSpice\Hook\BSApiExtJSStoreBaseBeforePostProcessData, BlueSpice\Hook\BSApiExtJSStoreBaseBeforeReturnData, BlueSpice\Hook\BSApiTasksBaseAfterExecuteTask, BlueSpice\Hook\BSApiTasksBaseBeforeExecuteTask, BlueSpice\Hook\BSBaseTemplateGetNavigationSidebar, BlueSpice\Hook\BSCoreConfigGet, BlueSpice\Hook\BSCoreGetUserMiniProfileBeforeInit, BlueSpice\Hook\BSEntityConfigAttributeDefinitions, BlueSpice\Hook\BSEntityConfigDefaults, BlueSpice\Hook\BSEntityDelete, BlueSpice\Hook\BSEntityDeleteComplete, BlueSpice\Hook\BSEntityGetFullData, BlueSpice\Hook\BSEntityInvalidate, BlueSpice\Hook\BSEntityRegister, BlueSpice\Hook\BSEntitySaveComplete, BlueSpice\Hook\BSEntitySetValuesByObject, BlueSpice\Hook\BsFoundationBeforeMakeGlobalVariablesScript, BlueSpice\Hook\BsSettingsAfterSaveSettings, BlueSpice\Hook\BsSettingsBeforeSaveSettings, BlueSpice\Hook\BSUserPageSettings, BlueSpice\Hook\BSWidgetListHelperInitKeyWords, BlueSpice\Hook\FileDeleteComplete, BlueSpice\Hook\GetPreferences, BlueSpice\Hook\LinkEnd, BlueSpice\Hook\LoadExtensionSchemaUpdates, BlueSpice\Hook\MakeGlobalVariablesScript, BlueSpice\Hook\PageContentSaveComplete, BlueSpice\Hook\ParserFirstCallInit, BlueSpice\Hook\ResourceLoaderGetConfigVars, BlueSpice\Hook\SkinTemplateNavigation, BlueSpice\Hook\SkinTemplateOutputPageBeforeExec, BlueSpice\Hook\SoftwareInfo, BlueSpice\Hook\UploadComplete, BlueSpice\Hook\UserCan, BlueSpice\Hook\UserGetRights, BlueSpice\Hook\UserMiniProfileAfterInit, BlueSpice\Social\Hook\BSSocialAllowedSorterValues, BlueSpice\Social\Hook\BSSocialEntitiesBeforeQuery, BlueSpice\Social\Hook\BSSocialEntitiesMakeList, BlueSpice\Social\Hook\BSSocialEntitiesMakeListStart, BlueSpice\Social\Hook\BSSocialEntitiesQueryCollectSingleEntity, BlueSpice\Social\Hook\BSSocialEntitiesRegisterValidators, BlueSpice\Social\Hook\BSSocialEntityGetActions, BlueSpice\Social\Hook\BSSocialEntityOutputRenderAfterChildren, BlueSpice\Social\Hook\BSSocialEntityOutputRenderAfterContent, BlueSpice\Social\Hook\BSSocialEntityOutputRenderBeforeChildren, BlueSpice\Social\Hook\BSSocialEntityOutputRenderBeforeContent, BlueSpice\Social\Hook\BSSocialEntityUserCan, BlueSpice\Social\Hook\BSSocialModuleDepths, and BlueSpice\UserManager\Hook\BSUserManagerAfterAddUser.

Public Member Functions

 __construct ($context, $config)
 
 process ()
 

Protected Member Functions

 getContext ()
 
 getConfig ()
 
 getServices ()
 
 doProcess ()
 
 skipProcessing ()
 

Static Protected Attributes

static $configName = 'bsg'
 

Constructor & Destructor Documentation

BlueSpice\Hook::__construct (   $context,
  $config 
)

Normally both parameters are NULL on instantiation. This is because we perform a lazy loading out of performance reasons. But for the sake of testablity we keep the DI here

Parameters
\IContextSource$context
\Config$config

Member Function Documentation

BlueSpice\Hook::getConfig ( )
protected
Returns
BlueSpice\Hook::getContext ( )
protected
Returns
BlueSpice\Hook::getServices ( )
protected
Returns
MediaWikiServices
BlueSpice\Hook::skipProcessing ( )
protected

Allow subclasses to define a skip condition

Returns
boolean

The documentation for this class was generated from the following file: