Meta extends AbstractPart
ODText meta part writer: meta.xml.
Tags
Table of Contents
- $dateFormat : string
- $parentWriter : AbstractWriter
- Parent writer.
- getParentWriter() : AbstractWriter
- Get parent writer.
- setParentWriter() : void
- Set parent writer.
- write() : string
- Write part.
- getXmlWriter() : XMLWriter
- Get XML Writer.
- writeCommonRootAttributes() : void
- Write common root attributes.
- writeFontFaces() : void
- Write font faces declaration.
- writeText() : bool
- Write an XML text, this will call text() or writeRaw() depending on the value of Settings::isOutputEscapingEnabled().
- writeCustomProperty() : void
- Write individual property.
Properties
$dateFormat
protected
string
$dateFormat
= 'Y-m-d\TH:i:sP'
$parentWriter
Parent writer.
protected
AbstractWriter
$parentWriter
Methods
getParentWriter()
Get parent writer.
public
getParentWriter() : AbstractWriter
Return values
AbstractWriter —setParentWriter()
Set parent writer.
public
setParentWriter([AbstractWriter $writer = null ]) : void
Parameters
- $writer : AbstractWriter = null
Return values
void —write()
Write part.
public
write() : string
Return values
string —getXmlWriter()
Get XML Writer.
protected
getXmlWriter() : XMLWriter
Return values
XMLWriter —writeCommonRootAttributes()
Write common root attributes.
protected
writeCommonRootAttributes(XMLWriter $xmlWriter) : void
Parameters
- $xmlWriter : XMLWriter
Return values
void —writeFontFaces()
Write font faces declaration.
protected
writeFontFaces(XMLWriter $xmlWriter) : void
Parameters
- $xmlWriter : XMLWriter
Return values
void —writeText()
Write an XML text, this will call text() or writeRaw() depending on the value of Settings::isOutputEscapingEnabled().
protected
writeText(string $content) : bool
Parameters
- $content : string
-
The text string to write
Return values
bool —Returns true on success or false on failure
writeCustomProperty()
Write individual property.
private
writeCustomProperty(XMLWriter $xmlWriter, string $property, string $value) : void
Parameters
- $xmlWriter : XMLWriter
- $property : string
- $value : string