MediaWiki  1.23.2
Preprocessor Interface Reference
Inheritance diagram for Preprocessor:

Public Member Functions

 __construct ( $parser)
 Create a new preprocessor object based on an initialised Parser object. More...
 
 newCustomFrame ( $args)
 Create a new custom frame for programmatic use of parameter replacement as used in some extensions. More...
 
 newFrame ()
 Create a new top-level frame for expansion of a page. More...
 
 newPartNodeArray ( $values)
 Create a new custom node for programmatic use of parameter replacement as used in some extensions. More...
 
 preprocessToObj ( $text, $flags=0)
 Preprocess text to a PPNode. More...
 

Detailed Description

Definition at line 27 of file Preprocessor.php.

Constructor & Destructor Documentation

◆ __construct()

Preprocessor::__construct (   $parser)

Create a new preprocessor object based on an initialised Parser object.

Parameters
$parserParser

Implemented in Preprocessor_DOM, and Preprocessor_Hash.

Member Function Documentation

◆ newCustomFrame()

Preprocessor::newCustomFrame (   $args)

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

Parameters
$argsarray
Returns
PPFrame

Implemented in Preprocessor_DOM, and Preprocessor_Hash.

◆ newFrame()

Preprocessor::newFrame ( )

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

Returns
PPFrame

Implemented in Preprocessor_DOM, and Preprocessor_Hash.

◆ newPartNodeArray()

Preprocessor::newPartNodeArray (   $values)

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

Parameters
$values

Implemented in Preprocessor_DOM, and Preprocessor_Hash.

◆ preprocessToObj()

Preprocessor::preprocessToObj (   $text,
  $flags = 0 
)

Preprocess text to a PPNode.

Parameters
$text
$flags
Returns
PPNode

Implemented in Preprocessor_DOM, and Preprocessor_Hash.


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