MediaWiki  1.27.2
PPDStackElement Class Reference
Inheritance diagram for PPDStackElement:
Collaboration diagram for PPDStackElement:

Public Member Functions

 __construct ($data=[])
 
 addPart ($s= '')
 
 breakSyntax ($openingCount=false)
 Get the output string that would result if the close is not found. More...
 
getAccum ()
 
 getCurrentPart ()
 
 getFlags ()
 

Public Attributes

string $close
 Matching closing character. More...
 
int $count
 Number of opening characters found (number of "=" for heading) More...
 
bool $lineStart
 True if the open char appeared at the start of the input line. More...
 
string $open
 Opening character (\n for heading) More...
 
 $partClass = 'PPDPart'
 
PPDPart[] $parts
 Array of PPDPart objects describing pipe-separated parts. More...
 

Detailed Description

Definition at line 826 of file Preprocessor_DOM.php.

Constructor & Destructor Documentation

PPDStackElement::__construct (   $data = [])

Definition at line 855 of file Preprocessor_DOM.php.

References $partClass, $value, and as.

Member Function Documentation

PPDStackElement::addPart (   $s = '')

Definition at line 868 of file Preprocessor_DOM.php.

References $partClass, and $s.

PPDStackElement::breakSyntax (   $openingCount = false)

Get the output string that would result if the close is not found.

Parameters
bool | int$openingCount
Returns
string

Definition at line 896 of file Preprocessor_DOM.php.

References $count, $s, as, and Makefile\open.

& PPDStackElement::getAccum ( )

Definition at line 864 of file Preprocessor_DOM.php.

PPDStackElement::getCurrentPart ( )

Definition at line 873 of file Preprocessor_DOM.php.

PPDStackElement::getFlags ( )
Returns
array

Definition at line 880 of file Preprocessor_DOM.php.

References Makefile\open.

Member Data Documentation

string PPDStackElement::$close

Matching closing character.

Definition at line 835 of file Preprocessor_DOM.php.

int PPDStackElement::$count

Number of opening characters found (number of "=" for heading)

Definition at line 840 of file Preprocessor_DOM.php.

Referenced by PPDStackElement_Hash\breakSyntax(), and breakSyntax().

bool PPDStackElement::$lineStart

True if the open char appeared at the start of the input line.

Not set for headings.

Definition at line 851 of file Preprocessor_DOM.php.

string PPDStackElement::$open

Opening character (\n for heading)

Definition at line 830 of file Preprocessor_DOM.php.

PPDStackElement::$partClass = 'PPDPart'

Definition at line 853 of file Preprocessor_DOM.php.

Referenced by __construct(), and addPart().

PPDPart [] PPDStackElement::$parts

Array of PPDPart objects describing pipe-separated parts.

Definition at line 845 of file Preprocessor_DOM.php.


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