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

Public Member Functions

 initExt ()
 
 onEditFormPreloadText (&$sText, $oTitle)
 
 onBeforePageDisplay (OutputPage &$out, Skin &$skin)
 
 onSkinTemplateOutputPageBeforeExec (&$sktemplate, &$tpl)
 
 invalidateCacheOnArticleChange ($oArticle)
 
 invalidateCacheOnTitleChange ($oTitle)
 
 invalidateCache ()
 
- Public Member Functions inherited from BsExtensionMW
 setCore ($oCore)
 
 getInfo ()
 
 getName ()
 
 getExtensionKey ()
 
 setup ($sExtName="", $aConfig=array())
 
 setHook ($hook, $method=false, $bExecuteFirst=false)
 
 getResourcePath ()
 
 getImagePath ($bResources=false)
 
 getCacheKey ($sSubKey= 'default')
 
 makeTagExtensionDefinitions ()
 
- Public Member Functions inherited from ContextSource
 getContext ()
 
 setContext (IContextSource $context)
 
 getConfig ()
 
 getRequest ()
 
 getTitle ()
 
 canUseWikiPage ()
 
 getWikiPage ()
 
 getOutput ()
 
 getUser ()
 
 getLanguage ()
 
 getSkin ()
 
 getTiming ()
 
 getStats ()
 
 msg ()
 
 exportSession ()
 

Static Public Member Functions

static getNavigationSites ()
 

Static Public Attributes

static $aNavigationSiteTemplate
 

Additional Inherited Members

- Protected Member Functions inherited from BsExtensionMW
 initExt ()
 
- Protected Attributes inherited from BsExtensionMW
 $mExtensionFile = null
 
 $mExtensionType = null
 
 $mInfo = null
 
 $mExtensionKey = null
 
 $mResourcePath = null
 
 $sName = ''
 
 $sStatus = ''
 
 $sPackage = ''
 
 $mCore = null
 
 $aStandardContext = array( '*', '*', '*' )
 

Member Function Documentation

static TopMenuBarCustomizer::getNavigationSites ( )
static

Getter for the $aNavigationSites array - either from hook, TopBarMenu title or cache string $wgSitename

Returns
array
TopMenuBarCustomizer::initExt ( )

Initialization of TopMenuBarCustomizer class

TopMenuBarCustomizer::onBeforePageDisplay ( OutputPage $out,
Skin $skin 
)

Hook-Handle for MW hook BeforePageDisplay - Sets modules if needed boolean $bsgTopMenuCustomizerCheckRead

Parameters
OutputPage$out
Skin$skin
Returns
boolean - always true
TopMenuBarCustomizer::onEditFormPreloadText ( $sText,
  $oTitle 
)

Hook-Handle for MW hook EditFormPreloadText

Parameters
string$sText
Title$oTitle
Returns
boolean - always true
TopMenuBarCustomizer::onSkinTemplateOutputPageBeforeExec ( $sktemplate,
$tpl 
)

Overrides existing bs_navigation_topbar boolean $bsgTopMenuCustomizerCheckRead

Parameters
SkinTemplate$sktemplate
BaseTemplate$tpl
Returns
boolean Always true to keep hook running

Member Data Documentation

TopMenuBarCustomizer::$aNavigationSiteTemplate
static
Initial value:
= array(
'id' => '',
'href' => '',
'text' => '',
'active' => false,
'level' => 1,
'containsactive' => false,
'external' => false,
)

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