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

Public Member Functions

 onBSBookshelfGetWidget ($oSender, &$aItems)
 
 onBSUserSidebarGlobalActionsWidgetGlobalActions (UserSidebar $oUserSidebar, User $oUser, &$aLinks, &$sWidgetTitle)
 
 onSkinTemplateOutputPageBeforeExec (&$sktemplate, &$tpl)
 
 onBeforePageDisplay (&$oOutputPage, &$oSkin)
 
- 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 ajaxGetAllBooksForComboBox ()
 
static onUnitTestsList (&$paths)
 

Protected Member Functions

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

Additional Inherited Members

- 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
 

Member Function Documentation

BookshelfUI::onBeforePageDisplay ( $oOutputPage,
$oSkin 
)

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

Parameters
OutputPage$oOutputPage
Skin$oSkin
Returns
bool
BookshelfUI::onBSBookshelfGetWidget (   $oSender,
$aItems 
)
Parameters
Bookshelf$oSender
array$aItems
BookshelfUI::onBSUserSidebarGlobalActionsWidgetGlobalActions ( UserSidebar  $oUserSidebar,
User  $oUser,
$aLinks,
$sWidgetTitle 
)

Adds Special:BookshelfBookManager link to wiki wide widget

Parameters
UserSidebar$oUserSidebar
User$oUser
array$aLinks
string$sWidgetTitle
Returns
boolean
BookshelfUI::onSkinTemplateOutputPageBeforeExec ( $sktemplate,
$tpl 
)

Adds Bookshelf tab to main navigation

Parameters
SkinTemplate$sktemplate
BaseTemplate$tpl
Returns
boolean Always true to keep hook running
static BookshelfUI::onUnitTestsList ( $paths)
static

Hook handler for UnitTestList

Parameters
array$paths
Returns
boolean

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