BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
Preprocessor Class Reference
Inheritance diagram for Preprocessor:
Collaboration diagram for Preprocessor:

Public Member Functions

 newFrame ()
 
 newCustomFrame ($args)
 
 newPartNodeArray ($values)
 
 preprocessToObj ($text, $flags=0)
 

Public Attributes

const CACHE_VERSION = 1
 

Protected Member Functions

 cacheSetTree ($text, $flags, $tree)
 
 cacheGetTree ($text, $flags)
 

Protected Attributes

 $rules
 

Member Function Documentation

Preprocessor::cacheGetTree (   $text,
  $flags 
)
protected

Attempt to load a precomputed document tree for some given wikitext from the cache.

Parameters
string$text
int$flags
Returns
PPNode_Hash_Tree|bool
Preprocessor::cacheSetTree (   $text,
  $flags,
  $tree 
)
protected

Store a document tree in the cache.

Parameters
string$text
int$flags
string$tree
Preprocessor::newCustomFrame (   $args)
abstract

Create a new custom frame for programmatic use of parameter replacement as used in some extensions.

Parameters
array$args
Returns
PPFrame
Preprocessor::newFrame ( )
abstract

Create a new top-level frame for expansion of a page

Returns
PPFrame
Preprocessor::newPartNodeArray (   $values)
abstract

Create a new custom node for programmatic use of parameter replacement as used in some extensions.

Parameters
array$values
Preprocessor::preprocessToObj (   $text,
  $flags = 0 
)
abstract

Preprocess text to a PPNode

Parameters
string$text
int$flags
Returns
PPNode

Member Data Documentation

Preprocessor::$rules
protected
Initial value:
= [
'{' => [
'end' => '}'

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