Path

ez components / documentation / api reference / latest / document


eZ Components latest

Document: ezcDocumentDocbookToHtmlSectionHandler

[ Tutorial ] [ Conversion ] [ Styles ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcDocumentDocbookToHtmlSectionHandler

Visit docbook sections [source]
Updates the docbook sections, which give us information about the depth in the document, and may also be reference targets.
Also visits title elements, which are commonly the first element in sections and define section titles, which are converted to HTML header elements of the respective level of indentation

Parents

ezcDocumentElementVisitorHandler
   |
   --ezcDocumentDocbookToHtmlBaseHandler
      |
      --ezcDocumentDocbookToHtmlSectionHandler

Member Variables

protected int $level = 0
Current level of indentation in the docbook document.

Method Summary

public mixed handle( $converter, $node, $root )
Handle a node

Inherited Methods

From ezcDocumentDocbookToHtmlBaseHandler :
protected DOMElement ezcDocumentDocbookToHtmlBaseHandler::getHead()
Get head of HTML document
From ezcDocumentElementVisitorHandler :
public abstract mixed ezcDocumentElementVisitorHandler::handle()
Handle a node.

Methods

handle

mixed handle( ezcDocumentElementVisitorConverter $converter, $node, mixed $root )
Handle a node
Handle / transform a given node, and return the result of the conversion.

Parameters

Name Type Description
$converter ezcDocumentElementVisitorConverter  
$node DOMElement  
$root mixed  

Redefinition of

Method Description
ezcDocumentElementVisitorHandler::handle() Handle a node.

Last updated: Mon, 21 Dec 2009