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

Public Member Functions

 initExt ()
 
 onBeforePageDisplay (&$oOutputPage, &$oSkin)
 
 onParserFirstCallInit (&$parser)
 
 onPersonalUrls (&$aPersonal_urls, &$oTitle)
 
 onTagDasboard ($input, array $args, Parser $parser, PPFrame $frame)
 
 onBSInsertMagicAjaxGetData (&$oResponse, $type)
 
 onBSDashboardsUserDashboardPortalConfig ($oCaller, &$aPortalConfig, $bIsDefault)
 
 onBSDashboardsUserDashboardPortalPortlets (&$aPortlets)
 
- 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 getSchemaUpdates ($updater)
 
static saveUserDashboardConfig ()
 
static onUnitTestsList (array &$paths)
 

Static Protected Attributes

static $aPageTagIdentifiers = array()
 

Additional Inherited Members

- Protected Member Functions inherited from BsExtensionMW
 initExt ()
 
- 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

static Dashboards::getSchemaUpdates (   $updater)
static

Adds the table to the database

Parameters
DatabaseUpdater$updater
Returns
boolean Always true to keep Hook running
Dashboards::initExt ( )

Initialization of Dashboards extension

Dashboards::onBeforePageDisplay ( $oOutputPage,
$oSkin 
)

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

Parameters
OutputPage$oOutputPage
Skin$oSkin
Returns
bool
Dashboards::onBSDashboardsUserDashboardPortalPortlets ( $aPortlets)

OutputPage $wgOut

Parameters
type$aPortlets
Returns
boolean
Dashboards::onParserFirstCallInit ( $parser)

Registers the <bs:dashboard /> tag

Parameters
Parser$parser
Returns
boolean Always true to keep Hook running
Dashboards::onTagDasboard (   $input,
array  $args,
Parser  $parser,
PPFrame  $frame 
)

Renders <bs:dasboard />

Parameters
string$input
array$args
Parser$parser
PPFrame$frame
Returns
string The resulting markup
static Dashboards::onUnitTestsList ( array &  $paths)
static

UnitTestsList allows registration of additional test suites to execute under PHPUnit. Extensions can append paths to files to the $paths array, and since MediaWiki 1.24, can specify paths to directories, which will be scanned recursively for any test case files with the suffix "Test.php".

Parameters
array$paths
static Dashboards::saveUserDashboardConfig ( )
static

AjaxDispatcher callback for saving a user portal config

Returns
BsCAResponse

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