Path

ez components / documentation / api reference / 2008.2 / document


eZ Components 2008.2

Document: ezcDocumentRstImageDirective

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

Class: ezcDocumentRstImageDirective

Visitor for RST image directives [source]

Implemented Interfaces

Parents

ezcDocumentRstDirective
   |
   --ezcDocumentRstImageDirective

Descendents

Child Class Description
ezcDocumentRstFigureDirective Visitor for RST image directives

Inherited Member Variables

From ezcDocumentRstDirective:
protected  ezcDocumentRstDirective::$ast
protected  ezcDocumentRstDirective::$node
protected  ezcDocumentRstDirective::$path
protected  ezcDocumentRstDirective::$visitor

Method Summary

public void toDocbook( $document, $root )
Transform directive to docbook
public void toXhtml( $document, $root )
Transform directive to HTML
protected void toXhtmlImage( $document, $root )
Create common img element for media object
protected void toXhtmlObject( $document, $root )
Create iframe for media object

Inherited Methods

From ezcDocumentRstDirective :
public void ezcDocumentRstDirective::__construct()
Construct directive from AST and node
public void ezcDocumentRstDirective::setSourceVisitor()
Set the calling vaisitor
public abstract void ezcDocumentRstDirective::toDocbook()
Transform directive to docbook

Methods

toDocbook

void toDocbook( $document, $root )
Transform directive to docbook
Create a docbook XML structure at the directives position in the document.

Parameters

Name Type Description
$document DOMDocument  
$root DOMElement  

Redefinition of

Method Description
ezcDocumentRstDirective::toDocbook() Transform directive to docbook

Redefined in descendants as

Method Description
ezcDocumentRstFigureDirective::toDocbook() Transform directive to docbook

toXhtml

void toXhtml( $document, $root )
Transform directive to HTML
Create a XHTML structure at the directives position in the document.

Parameters

Name Type Description
$document DOMDocument  
$root DOMElement  

Redefined in descendants as

Method Description
ezcDocumentRstFigureDirective::toXhtml() Transform directive to HTML

toXhtmlImage

void toXhtmlImage( $document, $root )
Create common img element for media object
For all images we use the common <img> XHtml element.

Parameters

Name Type Description
$document DOMDocument  
$root DOMElement  

toXhtmlObject

void toXhtmlObject( $document, $root )
Create iframe for media object

Parameters

Name Type Description
$document DOMDocument  
$root DOMElement  

Last updated: Mon, 05 Jan 2009