BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
FlaggedRevsConnector Class Reference
Inheritance diagram for FlaggedRevsConnector:
Collaboration diagram for FlaggedRevsConnector:

Public Member Functions

 initExt ()
 
 onBeforePageDisplay (&$oOutputPage, &$oSkin)
 
 runPreferencePlugin ($sAdapterName, $oVariable)
 
 onStatebarAddSortTopVars (&$aSortTopVars)
 
 onStateBarBeforeTopViewAdd ($oStateBar, &$aTopViews, $oUser, $oTitle)
 
 onStatebarAddSortBodyVars (&$aSortBodyVars)
 
 onStateBarBeforeBodyViewAdd ($oStateBar, &$aBodyViews, $oUser, $oTitle)
 
 collectFlagInfo ($oCurrentTitle)
 
 onReorderActionTabs (&$aContentActions, &$aActionsNotInMoreMenu)
 
- Public Member Functions inherited from BsExtensionMW
 setCore ($oCore)
 
 getInfo ()
 
 setup ($sExtName="", $aConfig=array())
 
 setHook ($hook, $method=false, $bExecuteFirst=false)
 
 setContext (\IContextSource $context)
 
 setConfig (\Config $config)
 
 getResourcePath ()
 
 getName ()
 
 getExtensionKey ()
 
 getExtensionPath ()
 
 getImagePath ($bResources=false)
 
 getCacheKey ($sSubKey= 'default')
 
 makeTagExtensionDefinitions ()
 
- Public Member Functions inherited from BlueSpice\Extension
 jsonSerialize ()
 
 __construct (array $definition,\IContextSource $context,\Config $config)
 
 getInfo ()
 
 getResourcePath ()
 
 getExtensionPath ()
 
 getName ()
 
 getAuthors ()
 
 getStatus ()
 
 getPackage ()
 
 getUrl ()
 
 getVersion ()
 
 getExtensionKey ()
 
- Public Member Functions inherited from BlueSpice\Context
 __construct (\IContextSource $context,\Config $config)
 
 canUseWikiPage ()
 
 exportSession ()
 
 getConfig ()
 
 getLanguage ()
 
 getOutput ()
 
 getRequest ()
 
 getSkin ()
 
 getStats ()
 
 getTiming ()
 
 getTitle ()
 
 getUser ()
 
 getWikiPage ()
 
 msg ($key)
 

Static Public Member Functions

static onRegistration ()
 
static setupFlaggedRevsConnector ()
 
static onSkinTemplateNavigation (Skin $skin, array &$links)
 

Protected Attributes

 $mFlagInfo = array( )
 
- Protected Attributes inherited from BsExtensionMW
 $mExtensionKey = null
 
 $mExtensionFile = null
 
 $mExtensionType = null
 
 $mInfo = null
 
 $mResourcePath = null
 
 $sName = ''
 
 $sStatus = ''
 
 $sPackage = ''
 
 $mCore = null
 
 $aStandardContext = array( '*', '*', '*' )
 
- Protected Attributes inherited from BlueSpice\Extension
 $extPath = ''
 
 $name = ''
 
 $authors = []
 
 $version = ''
 
 $url = ''
 
 $status = ''
 
 $package = ''
 
- Protected Attributes inherited from BlueSpice\Context
 $context = null
 
 $config = null
 

Additional Inherited Members

- Protected Member Functions inherited from BsExtensionMW
 initExt ()
 

Member Function Documentation

FlaggedRevsConnector::collectFlagInfo (   $oCurrentTitle)

Returns info about the flag state of the article // TODO RBV (25.07.12 14:55): Re-work logic to avoid multiple wfRunHooks

Parameters
Title$oCurrentTitle
Returns
array
FlaggedRevsConnector::initExt ( )

Initialization of FlaggedRevsConnector extension

FlaggedRevsConnector::onBeforePageDisplay ( $oOutputPage,
$oSkin 
)
Parameters
OutputPage$oOutputPage
Skin$oSkin
Returns
boolean
static FlaggedRevsConnector::onRegistration ( )
static

extension.json callback

FlaggedRevsConnector::onStatebarAddSortBodyVars ( $aSortBodyVars)

Hook-Handler for Hook 'BSStatebarAddSortBodyVars'

Parameters
array$aSortBodyVars
Returns
boolean Always true to keep hook running
FlaggedRevsConnector::onStatebarAddSortTopVars ( $aSortTopVars)

Hook-Handler for Hook 'BSStatebarAddSortTopVars'

Parameters
array$aSortTopVars
Returns
boolean Always true to keep hook running
FlaggedRevsConnector::onStateBarBeforeBodyViewAdd (   $oStateBar,
$aBodyViews,
  $oUser,
  $oTitle 
)

Hook-Handler for Hook 'BSStateBarBeforeBodyViewAdd'

Parameters
StateBar$oStateBar
array$aBodyViews
Returns
boolean Always true to keep hook running
FlaggedRevsConnector::onStateBarBeforeTopViewAdd (   $oStateBar,
$aTopViews,
  $oUser,
  $oTitle 
)

Hook-Handler for Hook 'BSStateBarBeforeTopViewAdd'

Parameters
StateBar$oStateBar
array$aTopViews
Returns
boolean Always true to keep hook running
FlaggedRevsConnector::runPreferencePlugin (   $sAdapterName,
  $oVariable 
)

Sets parameters for more complex options in preferences

Parameters
string$sAdapterNameName of the adapter, e.g. MW
BsConfig$oVariableInstance of variable
Returns
array Preferences options

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