MediaWiki
REL1_24
|
Public Member Functions | |
__construct ($parser) | |
Create a new preprocessor object based on an initialised Parser object. | |
newCustomFrame ($args) | |
Create a new custom frame for programmatic use of parameter replacement as used in some extensions. | |
newFrame () | |
Create a new top-level frame for expansion of a page. | |
newPartNodeArray ($values) | |
Create a new custom node for programmatic use of parameter replacement as used in some extensions. | |
preprocessToObj ($text, $flags=0) | |
Preprocess text to a PPNode. |
Definition at line 27 of file Preprocessor.php.
Preprocessor::__construct | ( | $ | parser | ) |
Create a new preprocessor object based on an initialised Parser object.
Parser | $parser |
Implemented in Preprocessor_Hash, and Preprocessor_DOM.
Preprocessor::newCustomFrame | ( | $ | args | ) |
Create a new custom frame for programmatic use of parameter replacement as used in some extensions.
array | $args |
Implemented in Preprocessor_DOM, and Preprocessor_Hash.
Create a new top-level frame for expansion of a page.
Implemented in Preprocessor_DOM, and Preprocessor_Hash.
Preprocessor::newPartNodeArray | ( | $ | values | ) |
Create a new custom node for programmatic use of parameter replacement as used in some extensions.
array | $values |
Implemented in Preprocessor_DOM, and Preprocessor_Hash.
Preprocessor::preprocessToObj | ( | $ | text, |
$ | flags = 0 |
||
) |
Preprocess text to a PPNode.
string | $text | |
int | $flags |
Implemented in Preprocessor_DOM, and Preprocessor_Hash.