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

Public Member Functions

 onBSInsertMagicAjaxGetData (&$oResponse, $type)
 
 onBeforePageDisplay (&$oOutputPage, &$oSkin)
 
 onUserPageSettings ($oUser, $oTitle, &$aSettingViews)
 
 onSkinTemplateOutputPageBeforeExec (&$sktemplate, &$tpl)
 
- 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 onPageContentSave ($wikiPage, $user, $content, $summary, $isMinor, $isWatch, $section, $flags, $status)
 

Protected Member Functions

 initExt ()
 
- Protected Member Functions inherited from BsExtensionMW
 initExt ()
 

Additional Inherited Members

- 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

Authors::initExt ( )
protected

Initialization of Authors extension

Authors::onBeforePageDisplay ( $oOutputPage,
$oSkin 
)

Hook-Handler for MediaWiki 'BeforePageDisplay' hook. Sets context if needed.

Parameters
OutputPage$oOutputPage
Skin$oSkin
Returns
bool
Authors::onBSInsertMagicAjaxGetData ( $oResponse,
  $type 
)

Inject tags into InsertMagic

Parameters
Object$oResponsereference $param String $type
Returns
always true to keep hook running
static Authors::onPageContentSave (   $wikiPage,
  $user,
  $content,
  $summary,
  $isMinor,
  $isWatch,
  $section,
  $flags,
  $status 
)
static

Invalidates cache for authors

Parameters
WikiPage$wikiPage
User$user
Content$content
type$summary
type$isMinor
type$isWatch
type$section
type$flags
Status$status
Returns
boolean
Authors::onSkinTemplateOutputPageBeforeExec ( $sktemplate,
$tpl 
)

Hook-Handler for 'SkinTemplateOutputPageBeforeExec'. Creates the authors list below an article.

Parameters
SkinTemplate$sktemplatea collection of views. Add the view that needs to be displayed
BaseTemplate$tplcurrently logged in user. Not used in this context.
Returns
bool always true
Authors::onUserPageSettings (   $oUser,
  $oTitle,
$aSettingViews 
)

Hook-handler for 'BS:UserPageSettings'

Parameters
User$oUserThe current MediaWiki User object
Title$oTitleThe current MediaWiki Title object
array$aSettingViewsA list of View objects
Returns
array The SettingsViews array with an andditional View object

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