Path

ez components / documentation / api reference / latest / document


eZ Components latest

Document: ezcDocumentEzp4Xml

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

Class: ezcDocumentEzp4Xml

The document handler for the eZ Publish 4 XML document markup. [source]

Parents

ezcDocument
   |
   --ezcDocumentXmlBase
      |
      --ezcDocumentEzp4Xml

Inherited Member Variables

From ezcDocumentXmlBase:
protected  ezcDocumentXmlBase::$document
From ezcDocument:
protected  ezcDocument::$options
protected  ezcDocument::$path

Method Summary

public void createFromDocbook( $document )
Create document from docbook document
public ezcDocumentDocbook getAsDocbook( )
Return document compiled to the docbook format

Inherited Methods

From ezcDocumentXmlBase :
public DOMDocument ezcDocumentXmlBase::getDomDocument()
Get DOMDocument
public void ezcDocumentXmlBase::loadDomDocument()
Construct directly from DOMDocument
public void ezcDocumentXmlBase::loadString()
Create document from input string
public string ezcDocumentXmlBase::save()
Return document as string
public void ezcDocumentXmlBase::setDomDocument()
Set DOMDocument
public mixed ezcDocumentXmlBase::validateFile()
Validate the input file
public mixed ezcDocumentXmlBase::validateString()
Validate the input string
From ezcDocument :
public ezcDocument ezcDocument::__construct()
Construct new document
public abstract void ezcDocument::createFromDocbook()
Create document from docbook document
public abstract ezcDocumentDocbook ezcDocument::getAsDocbook()
Return document compiled to the docbook format
public void ezcDocument::loadFile()
Create document from file
public abstract void ezcDocument::loadString()
Create document from input string
public abstract string ezcDocument::save()
Return document as string

Methods

createFromDocbook

void createFromDocbook( ezcDocumentDocbook $document )
Create document from docbook document
A document of the docbook format is provided and the internal document structure should be created out of this.
This method is required for all formats to have one central format, so that each format can be compiled into each other format using docbook as an intermediate format.
You may of course just call an existing converter for this conversion.

Parameters

Name Type Description
$document ezcDocumentDocbook  

Redefinition of

Method Description
ezcDocument::createFromDocbook() Create document from docbook document

getAsDocbook

ezcDocumentDocbook getAsDocbook( )
Return document compiled to the docbook format
The internal document structure is compiled to the docbook format and the resulting docbook document is returned.
This method is required for all formats to have one central format, so that each format can be compiled into each other format using docbook as an intermediate format.
You may of course just call an existing converter for this conversion.

Redefinition of

Method Description
ezcDocument::getAsDocbook() Return document compiled to the docbook format

Last updated: Mon, 13 Oct 2008