MediaWiki  1.30.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 876 of file Preprocessor_DOM.php.

Constructor & Destructor Documentation

◆ __construct()

PPDStackElement::__construct (   $data = [])

Reimplemented in PPDStackElement_Hash.

Definition at line 905 of file Preprocessor_DOM.php.

Member Function Documentation

◆ addPart()

PPDStackElement::addPart (   $s = '')

Definition at line 918 of file Preprocessor_DOM.php.

◆ breakSyntax()

PPDStackElement::breakSyntax (   $openingCount = false)

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

Parameters
bool | int$openingCount
Returns
string

Reimplemented in PPDStackElement_Hash.

Definition at line 946 of file Preprocessor_DOM.php.

◆ getAccum()

& PPDStackElement::getAccum ( )

Definition at line 914 of file Preprocessor_DOM.php.

◆ getCurrentPart()

PPDStackElement::getCurrentPart ( )

Definition at line 923 of file Preprocessor_DOM.php.

◆ getFlags()

PPDStackElement::getFlags ( )
Returns
array

Definition at line 930 of file Preprocessor_DOM.php.

Member Data Documentation

◆ $close

string PPDStackElement::$close

Matching closing character.

Definition at line 885 of file Preprocessor_DOM.php.

◆ $count

int PPDStackElement::$count

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

Definition at line 890 of file Preprocessor_DOM.php.

◆ $lineStart

bool PPDStackElement::$lineStart

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

Not set for headings.

Definition at line 901 of file Preprocessor_DOM.php.

◆ $open

string PPDStackElement::$open

Opening character (\n for heading)

Definition at line 880 of file Preprocessor_DOM.php.

◆ $partClass

PPDStackElement::$partClass = 'PPDPart'

Definition at line 903 of file Preprocessor_DOM.php.

◆ $parts

PPDPart [] PPDStackElement::$parts

Array of PPDPart objects describing pipe-separated parts.

Definition at line 895 of file Preprocessor_DOM.php.


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