Zeta Components - high quality PHP components

Zeta Components Manual :: Docs For Class ezcDocumentDocbookToHtmlSpecialParagraphHandler

Document::ezcDocumentDocbookToHtmlSpecialParagraphHandler

Class ezcDocumentDocbookToHtmlSpecialParagraphHandler

Visit special paragraphs

Transform the paragraphs with special annotations like <note> and <caution> to paragraphs inside the HTML document with a class representing the meaning of the docbook elements. The mapping which is used inside this method is used throughout the document comoponent and compatible with the RTS mapping.

Source for this file: /Document/src/converters/element_visitor/docbook/xhtml/special_paragraph.php

ezcDocumentElementVisitorHandler
   |
   --ezcDocumentDocbookToHtmlBaseHandler
      |
      --ezcDocumentDocbookToHtmlSpecialParagraphHandler
Version:   //autogen//

Member Variables

protected array $types = array(
'note' => 'note',
'tip' => 'notice',
'warning' => 'warning',
'important' => 'attention',
'caution' => 'danger',
)

Handled paragraph names / types

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.
Documentation generated by phpDocumentor 1.4.3