generate [line 24]
Generates the documentation for a standard.
- See: processSniff()
- Access: public
Overrides
Generator::generate() (Generates the documentation for a standard.)
printCodeComparisonBlock [line 127]
void printCodeComparisonBlock(
DOMNode
\$node, \DOMNode
$node)
Print a code comparison block found in a standard.
Parameters:
\DOMNode
$node
—
The DOMNode object for the code comparison block.
DOMNode
\$node
—
printFooter [line 64]
Print the markdown footer.
printHeader [line 50]
Print the markdown header.
printTextBlock [line 107]
void printTextBlock(
DOMNode
\$node, \DOMNode
$node)
Print a text block found in a standard.
Parameters:
\DOMNode
$node
—
The DOMNode object for the text block.
DOMNode
\$node
—
processSniff [line 84]
void processSniff(
DOMNode
\$doc, \DOMNode
$doc)
Process the documentation for a single sniff.
Overrides
Generator::processSniff() (Process the documentation for a single sniff.)
Parameters:
\DOMNode
$doc
—
The DOMNode object for the sniff. It represents the "documentation" tag in the XML standard file.
DOMNode
\$doc
—