MediaWiki  1.23.6
PPDStack Class Reference

Stack class to help Preprocessor::preprocessToObj() More...

Inheritance diagram for PPDStack:
Collaboration diagram for PPDStack:

Public Member Functions

 __construct ()
 
 addPart ( $s='')
 
 count ()
 
getAccum ()
 
 getCurrentPart ()
 
 getFlags ()
 
 pop ()
 
 push ( $data)
 

Public Attributes

 $elementClass = 'PPDStackElement'
 
 $out
 
 $rootAccum
 
 $stack
 
PPDStack $top
 

Static Public Attributes

static $false = false
 

Detailed Description

Stack class to help Preprocessor::preprocessToObj()

Definition at line 737 of file Preprocessor_DOM.php.

Constructor & Destructor Documentation

◆ __construct()

PPDStack::__construct ( )

Reimplemented in PPDStack_Hash.

Definition at line 748 of file Preprocessor_DOM.php.

References $rootAccum, and array().

Member Function Documentation

◆ addPart()

PPDStack::addPart (   $s = '')

Definition at line 801 of file Preprocessor_DOM.php.

References $s.

◆ count()

PPDStack::count ( )
Returns
int

Definition at line 758 of file Preprocessor_DOM.php.

Referenced by getFlags(), pop(), and push().

◆ getAccum()

& PPDStack::getAccum ( )

Definition at line 762 of file Preprocessor_DOM.php.

◆ getCurrentPart()

PPDStack::getCurrentPart ( )

Definition at line 766 of file Preprocessor_DOM.php.

◆ getFlags()

PPDStack::getFlags ( )
Returns
array

Definition at line 809 of file Preprocessor_DOM.php.

References array(), and count().

◆ pop()

PPDStack::pop ( )

Definition at line 785 of file Preprocessor_DOM.php.

References $false, $rootAccum, and count().

◆ push()

PPDStack::push (   $data)

Definition at line 774 of file Preprocessor_DOM.php.

References $elementClass, and count().

Member Data Documentation

◆ $elementClass

PPDStack::$elementClass = 'PPDStackElement'

Definition at line 744 of file Preprocessor_DOM.php.

Referenced by push().

◆ $false

PPDStack::$false = false
static

Definition at line 746 of file Preprocessor_DOM.php.

Referenced by pop().

◆ $out

PPDStack::$out

Definition at line 743 of file Preprocessor_DOM.php.

◆ $rootAccum

PPDStack::$rootAccum

Definition at line 738 of file Preprocessor_DOM.php.

Referenced by __construct(), and pop().

◆ $stack

PPDStack::$stack

Definition at line 738 of file Preprocessor_DOM.php.

◆ $top

PPDStack PPDStack::$top

Definition at line 742 of file Preprocessor_DOM.php.


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