Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Wt2Html\PP\Processors\Section Class Reference

Public Member Functions

 __construct (int $level, int $debugId, Document $ownerDoc)
 
 setId (int $id)
 
 setAboutId (string $aboutId)
 
 addNode (Node $node)
 
 addSection (Section $section)
 
 hasNestedLevel (int $level)
 Does this section have a nesting level of $level?
 

Public Attributes

 $container
 

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Parsoid\Wt2Html\PP\Processors\Section::__construct ( int $level,
int $debugId,
Document $ownerDoc )
Parameters
int$level
int$debugId
Document$ownerDoc

Member Function Documentation

◆ addNode()

Wikimedia\Parsoid\Wt2Html\PP\Processors\Section::addNode ( Node $node)
Parameters
Node$node

◆ addSection()

Wikimedia\Parsoid\Wt2Html\PP\Processors\Section::addSection ( Section $section)
Parameters
Section$section

◆ hasNestedLevel()

Wikimedia\Parsoid\Wt2Html\PP\Processors\Section::hasNestedLevel ( int $level)

Does this section have a nesting level of $level?

Parameters
int$level
Returns
bool

◆ setAboutId()

Wikimedia\Parsoid\Wt2Html\PP\Processors\Section::setAboutId ( string $aboutId)
Parameters
string$aboutId

◆ setId()

Wikimedia\Parsoid\Wt2Html\PP\Processors\Section::setId ( int $id)
Parameters
int$id

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