MediaWiki REL1_32
MediaWiki\Tidy\RemexCompatFormatter Class Reference
Inheritance diagram for MediaWiki\Tidy\RemexCompatFormatter:
Collaboration diagram for MediaWiki\Tidy\RemexCompatFormatter:

Public Member Functions

 __construct ( $options=[])
 
 element (SerializerNode $parent, SerializerNode $node, $contents)
 
 startDocument ( $fragmentNamespace, $fragmentName)
 

Static Private Attributes

static $markedEmptyElements
 

Detailed Description

Definition at line 12 of file RemexCompatFormatter.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Tidy\RemexCompatFormatter::__construct (   $options = [])

Definition at line 19 of file RemexCompatFormatter.php.

References $options.

Member Function Documentation

◆ element()

MediaWiki\Tidy\RemexCompatFormatter::element ( SerializerNode  $parent,
SerializerNode  $node,
  $contents 
)

Definition at line 31 of file RemexCompatFormatter.php.

References $name, $s, and as.

◆ startDocument()

MediaWiki\Tidy\RemexCompatFormatter::startDocument (   $fragmentNamespace,
  $fragmentName 
)

Definition at line 27 of file RemexCompatFormatter.php.

Member Data Documentation

◆ $markedEmptyElements

MediaWiki\Tidy\RemexCompatFormatter::$markedEmptyElements
staticprivate
Initial value:
= [
'li' => true,
'p' => true,
'tr' => true,
]

Definition at line 13 of file RemexCompatFormatter.php.


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