Path

ez components / documentation / api reference / trunk / document


eZ Components trunk

Document: ezcDocumentEzp3ToEzp4Converter

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

Class: ezcDocumentEzp3ToEzp4Converter

Converter for eZ Publish 3 document to eZ Publish 4 documents. [source]

Parents

ezcDocumentConverter
   |
   --ezcDocumentXsltConverter
      |
      --ezcDocumentEzp3ToEzp4Converter

Member Variables

protected array $customInlineTags
Array with custom inline tags, as a storage for static calls from the template.

Inherited Member Variables

From ezcDocumentXsltConverter:
protected  ezcDocumentXsltConverter::$xsltProcessor
From ezcDocumentConverter:
protected  ezcDocumentConverter::$options
protected  ezcDocumentConverter::$properties

Method Summary

public ezcDocumentEzp3ToEzp4Converter __construct( [$options = null] )
Construct new document
protected ezcDocumentXmlBase buildDocument( $document )
Build document
public ezcDocumentXmlBase convert( $doc )
Convert documents between two formats
public static string getCustomInlineTags( )
Prepare expression for XSLT

Inherited Methods

From ezcDocumentXsltConverter :
public void ezcDocumentXsltConverter::__construct()
Construct converter
protected abstract ezcDocumentXmlBase ezcDocumentXsltConverter::buildDocument()
Build document
public ezcDocumentXmlBase ezcDocumentXsltConverter::convert()
Convert documents between two formats
From ezcDocumentConverter :
public ezcDocumentConverter ezcDocumentConverter::__construct()
Construct new document
public abstract ezcDocument ezcDocumentConverter::convert()
Convert documents between two formats
public void ezcDocumentConverter::triggerError()
Trigger parser error

Methods

__construct

ezcDocumentEzp3ToEzp4Converter __construct( [ezcDocumentEzp3ToEzp4ConverterOptions $options = null] )
Construct new document

Parameters

Name Type Description
$options ezcDocumentEzp3ToEzp4ConverterOptions  

Redefinition of

Method Description
ezcDocumentXsltConverter::__construct() Construct converter

buildDocument

ezcDocumentXmlBase buildDocument( $document )
Build document
Build document of appropriate type from the DOMDocument, created by the XSLT transformation.

Parameters

Name Type Description
$document DOMDocument  

Redefinition of

Method Description
ezcDocumentXsltConverter::buildDocument() Build document

convert

Convert documents between two formats
Convert documents of the given type to the requested type.

Parameters

Name Type Description
$doc ezcDocumentXmlBase  

Redefinition of

Method Description
ezcDocumentXsltConverter::convert() Convert documents between two formats

getCustomInlineTags

string getCustomInlineTags( )
Prepare expression for XSLT
Prepare a or concatenation of name matches as an XPath query for the XSLT stylesheet from the configured custom inline tags.

Last updated: Wed, 22 Oct 2008