Document: ezcDocumentDocbookToHtmlMappingHandler
[ ]
[ Conversion ]
[ ]
[ ]
[ ]
[ ]
Class: ezcDocumentDocbookToHtmlMappingHandler
|
Simple mapping handler [
source]
Special visitor for elements which just need trivial mapping of element tag names. It ignores all attributes of the input element and just converts the tag name.
Parents
ezcDocumentElementVisitorHandler
|
--ezcDocumentDocbookToHtmlBaseHandler
|
--ezcDocumentDocbookToHtmlMappingHandler
Member Variables
|
protected array |
$mapping
= array( 'article' => 'body', 'book' => 'body', 'literal' => 'code', 'itemizedlist' => 'ul', 'orderedlist' => 'ol', 'listitem' => 'li', 'beginpage' => 'hr', 'variablelist' => 'dl', 'table' => 'table', 'tbody' => 'tbody', 'thead' => 'thead', 'row' => 'tr', )
Mapping of element names.
Element tag name mapping for elements, which just require trivial mapping used by the visitWithMapper() method. |
Method Summary
|
public mixed |
handle(
$converter, $node, $root )
Handle a node |
Inherited Methods
From
ezcDocumentDocbookToHtmlBaseHandler :
From
ezcDocumentElementVisitorHandler :
Methods
handle
Handle a node
Handle / transform a given node, and return the result of the conversion.
Parameters
Redefinition of
Last updated: Mon, 30 Mar 2009