MediaWiki REL1_32
ParserFactory Class Reference
Collaboration diagram for ParserFactory:

Public Member Functions

 __construct (array $conf, MagicWordFactory $magicWordFactory, Language $contLang, $urlProtocols, SpecialPageFactory $spFactory)
 
 create ()
 

Private Attributes

array $conf
 
Language $contLang
 
MagicWordFactory $magicWordFactory
 
SpecialPageFactory $specialPageFactory
 
string $urlProtocols
 

Detailed Description

Since
1.32

Definition at line 27 of file ParserFactory.php.

Constructor & Destructor Documentation

◆ __construct()

ParserFactory::__construct ( array $conf,
MagicWordFactory $magicWordFactory,
Language $contLang,
$urlProtocols,
SpecialPageFactory $spFactory )
Parameters
array$confSee $wgParserConf documentation
MagicWordFactory$magicWordFactory
Language$contLangContent language
string$urlProtocolsAs returned from wfUrlProtocols()
SpecialPageFactory$spFactory
Since
1.32

Definition at line 51 of file ParserFactory.php.

Member Function Documentation

◆ create()

ParserFactory::create ( )
Returns
Parser
Since
1.32

Definition at line 66 of file ParserFactory.php.

Member Data Documentation

◆ $conf

array ParserFactory::$conf
private

Definition at line 29 of file ParserFactory.php.

◆ $contLang

Language ParserFactory::$contLang
private

Definition at line 35 of file ParserFactory.php.

◆ $magicWordFactory

MagicWordFactory ParserFactory::$magicWordFactory
private

Definition at line 32 of file ParserFactory.php.

◆ $specialPageFactory

SpecialPageFactory ParserFactory::$specialPageFactory
private

Definition at line 41 of file ParserFactory.php.

◆ $urlProtocols

string ParserFactory::$urlProtocols
private

Definition at line 38 of file ParserFactory.php.


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