|
| cacheGetTree ( $text, $flags) |
| Attempt to load a precomputed document tree for some given wikitext from the cache. More...
|
|
| cacheSetTree ( $text, $flags, $tree) |
| Store a document tree in the cache. More...
|
|
Definition at line 30 of file Preprocessor.php.
◆ cacheGetTree()
Preprocessor::cacheGetTree |
( |
|
$text, |
|
|
|
$flags |
|
) |
| |
|
protected |
◆ cacheSetTree()
Preprocessor::cacheSetTree |
( |
|
$text, |
|
|
|
$flags, |
|
|
|
$tree |
|
) |
| |
|
protected |
◆ newCustomFrame()
Preprocessor::newCustomFrame |
( |
|
$args | ) |
|
|
abstract |
◆ newFrame()
Preprocessor::newFrame |
( |
| ) |
|
|
abstract |
◆ newPartNodeArray()
Preprocessor::newPartNodeArray |
( |
|
$values | ) |
|
|
abstract |
Create a new custom node for programmatic use of parameter replacement as used in some extensions.
- Parameters
-
Reimplemented in Preprocessor_DOM, and Preprocessor_Hash.
◆ preprocessToObj()
Preprocessor::preprocessToObj |
( |
|
$text, |
|
|
|
$flags = 0 |
|
) |
| |
|
abstract |
◆ $parser
Parser Preprocessor::$parser |
◆ $rules
array Preprocessor::$rules |
|
protected |
Initial value:= [
'{' => [
'end' => '}',
'names' => [
2 => 'template',
3 => 'tplarg',
],
'min' => 2,
'max' => 3,
],
'[' => [
'end' => ']',
'names' => [ 2 => null ],
'min' => 2,
'max' => 2,
],
'-{' => [
'end' => '}-',
'names' => [ 2 => null ],
'min' => 2,
'max' => 2,
],
]
Brace matching rules.
Definition at line 42 of file Preprocessor.php.
◆ CACHE_VERSION
const Preprocessor::CACHE_VERSION = 1 |
The documentation for this class was generated from the following file: