Document: ezcDocumentRstContentsDirective
[ ]
[ Conversion ] [ Styles ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDocumentRstContentsDirective
|
Visitor for RST contents directives [
source]
Implemented Interfaces
Parents
ezcDocumentRstDirective
|
--ezcDocumentRstContentsDirective
Inherited Member Variables
From
ezcDocumentRstDirective:
Method Summary
|
protected void |
generateTocList(
$node, $root, $depth )
Generate XHtml TOC |
|
public void |
toDocbook(
$document, $root )
Transform directive to docbook |
|
public void |
toXhtml(
$document, $root )
Transform directive to HTML |
Inherited Methods
From
ezcDocumentRstDirective :
Methods
generateTocList
Generate XHtml TOC
Recursively generate a XHtml table of contents from the given section with the specified depth. Use -1 as depth to display the complete section tree.
Parameters
| Name |
Type |
Description |
$node |
ezcDocumentRstSectionNode |
|
$root |
DOMElement |
|
$depth |
int |
|
toDocbook
void toDocbook(
$document,
$root )
Transform directive to docbook
Create a docbook XML structure at the directives position in the document.
Parameters
| Name |
Type |
Description |
$document |
DOMDocument |
|
$root |
DOMElement |
|
Redefinition of
toXhtml
void toXhtml(
$document,
$root )
Transform directive to HTML
Create a XHTML structure at the directives position in the document.
Parameters
| Name |
Type |
Description |
$document |
DOMDocument |
|
$root |
DOMElement |
|
Last updated: Mon, 29 Jun 2009