Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | List of all members
SMW\MediaWiki\Hooks\BaseTemplateToolbox Class Reference

Public Member Functions

 __construct ($skinTemplate, &$toolbox)
 
 process ()
 

Protected Member Functions

 canPerformUpdate (Title $title)
 
 performUpdate ()
 

Detailed Description

Hook: Called by BaseTemplate when building the toolbox array and returning it for the skin to output.

Add a link to the toolbox to view the properties of the current page in Special:Browse. The links has the CSS id "t-smwbrowselink" so that it can be skinned or hidden with all standard mechanisms (also by individual users with custom CSS).

See also
http://www.mediawiki.org/wiki/Manual:Hooks/BaseTemplateToolbox

GNU GPL v2+

Since
1.9
Author
mwjames

Constructor & Destructor Documentation

SMW\MediaWiki\Hooks\BaseTemplateToolbox::__construct (   $skinTemplate,
$toolbox 
)
Since
1.9
Parameters
$skinTemplate
&$toolbox

Member Function Documentation

SMW\MediaWiki\Hooks\BaseTemplateToolbox::canPerformUpdate ( Title  $title)
protected
SMW\MediaWiki\Hooks\BaseTemplateToolbox::performUpdate ( )
protected
SMW\MediaWiki\Hooks\BaseTemplateToolbox::process ( )
Since
1.9
Returns
boolean

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