Path

ez components / documentation / api reference / 2008.2.3 / document


eZ Components 2008.2.3

Document: ezcDocumentDocbookToHtmlHeadHandler

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

Class: ezcDocumentDocbookToHtmlHeadHandler

Visit docbook sectioninfo elements [source]
The sectioninfo elements contain metadata about the document or sections, which are transformed into the respective metadata in the HTML header.

Parents

ezcDocumentElementVisitorHandler
   |
   --ezcDocumentDocbookToHtmlBaseHandler
      |
      --ezcDocumentDocbookToHtmlHeadHandler

Member Variables

protected array $dcHeaderMapping = array(
'abstract' => 'dc.description',
'pubdate' => 'dc.date',
'date' => 'dc.date',
'author' => 'dc.creator',
'publisher' => 'dc.publisher',
'contrib' => 'dc.contributor',
'copyright' => 'dc.rights',
)

Element name mapping for meta information in the docbook document to HTML meta element names, using the dublin core extensions for meta elements.
protected array $headerMapping = array(
'abstract' => 'description',
'releaseinfo' => 'version',
'pubdate' => 'date',
'date' => 'date',
'author' => 'author',
'publisher' => 'author',
)

Element name mapping for meta information in the docbook document to HTML meta element names.

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, 11 May 2009