MediaWiki  REL1_19
CoreLinkFunctions Class Reference

Various core link functions, registered in Parser::firstCallInit() More...

List of all members.

Static Public Member Functions

static categoryLinkHook ($parser, $holders, $markers, Title $title, $titleText, &$sortText=null, &$leadingColon=false)
static defaultLinkHook ($parser, $holders, $markers, Title $title, $titleText, &$displayText=null, &$leadingColon=false)
static register ($parser)

Detailed Description

Various core link functions, registered in Parser::firstCallInit()

Definition at line 12 of file CoreLinkFunctions.php.


Member Function Documentation

static CoreLinkFunctions::categoryLinkHook ( parser,
holders,
markers,
Title title,
titleText,
&$  sortText = null,
&$  leadingColon = false 
) [static]
Parameters:
$parserParser
$holdersLinkHolderArray
$markersLinkMarkerReplacer
Title$title
$titleText
null$sortText
bool$leadingColon
Returns:
bool|string

Definition at line 55 of file CoreLinkFunctions.php.

References $wgContLang, Sanitizer\decodeCharReferences(), and Title\getDBkey().

Here is the call graph for this function:

static CoreLinkFunctions::defaultLinkHook ( parser,
holders,
markers,
Title title,
titleText,
&$  displayText = null,
&$  leadingColon = false 
) [static]
Parameters:
$parserParser
$holdersLinkHolderArray
$markersLinkMarkerReplacer
Title$title
$titleText
null$displayText
bool$leadingColon
Returns:
bool

Definition at line 32 of file CoreLinkFunctions.php.

Referenced by Parser_LinkHooks\replaceInternalLinksCallback().

Here is the caller graph for this function:

static CoreLinkFunctions::register ( parser) [static]
Parameters:
$parserParser_LinkHooks
Returns:
bool

Definition at line 17 of file CoreLinkFunctions.php.

Referenced by Parser_LinkHooks\firstCallInit().

Here is the caller graph for this function:


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