MediaWiki REL1_33
ParserFactory Class Reference
Collaboration diagram for ParserFactory:

Public Member Functions

 __construct (array $parserConf, MagicWordFactory $magicWordFactory, Language $contLang, $urlProtocols, SpecialPageFactory $spFactory, Config $siteConfig, LinkRendererFactory $linkRendererFactory)
 
 create ()
 

Private Attributes

Language $contLang
 
LinkRendererFactory $linkRendererFactory
 
MagicWordFactory $magicWordFactory
 
array $parserConf
 
Config $siteConfig
 
SpecialPageFactory $specialPageFactory
 
string $urlProtocols
 

Detailed Description

Since
1.32

Definition at line 28 of file ParserFactory.php.

Constructor & Destructor Documentation

◆ __construct()

ParserFactory::__construct ( array  $parserConf,
MagicWordFactory  $magicWordFactory,
Language  $contLang,
  $urlProtocols,
SpecialPageFactory  $spFactory,
Config  $siteConfig,
LinkRendererFactory  $linkRendererFactory 
)
Parameters
array$parserConfSee $wgParserConf documentation
MagicWordFactory$magicWordFactory
Language$contLangContent language
string$urlProtocolsAs returned from wfUrlProtocols()
SpecialPageFactory$spFactory
Config$siteConfig
LinkRendererFactory$linkRendererFactory
Since
1.32

Definition at line 60 of file ParserFactory.php.

Member Function Documentation

◆ create()

ParserFactory::create ( )
Returns
Parser
Since
1.32

Definition at line 77 of file ParserFactory.php.

Member Data Documentation

◆ $contLang

Language ParserFactory::$contLang
private

Definition at line 36 of file ParserFactory.php.

◆ $linkRendererFactory

LinkRendererFactory ParserFactory::$linkRendererFactory
private

Definition at line 48 of file ParserFactory.php.

◆ $magicWordFactory

MagicWordFactory ParserFactory::$magicWordFactory
private

Definition at line 33 of file ParserFactory.php.

◆ $parserConf

array ParserFactory::$parserConf
private

Definition at line 30 of file ParserFactory.php.

◆ $siteConfig

Config ParserFactory::$siteConfig
private

Definition at line 45 of file ParserFactory.php.

◆ $specialPageFactory

SpecialPageFactory ParserFactory::$specialPageFactory
private

Definition at line 42 of file ParserFactory.php.

◆ $urlProtocols

string ParserFactory::$urlProtocols
private

Definition at line 39 of file ParserFactory.php.


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