Path

ez components / documentation / api reference / 2009.1.2 / document


eZ Components 2009.1.2

Document: ezcDocumentDocbookToWikiSectionHandler

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

Class: ezcDocumentDocbookToWikiSectionHandler

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
   |
   --ezcDocumentDocbookToWikiBaseHandler
      |
      --ezcDocumentDocbookToWikiSectionHandler

Member Variables

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

Method Summary

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

Inherited Methods

From ezcDocumentDocbookToWikiBaseHandler :
protected string ezcDocumentDocbookToWikiBaseHandler::renderDirective()
Render a directive
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: Tue, 01 Sep 2009