\PhpOffice\PhpWord\Writer\Word2007\PartEndnotes

Word2007 endnotes part writer: word/endnotes.xml

Summary

Methods
Properties
Constants
write()
setElements()
setParentWriter()
getParentWriter()
No public properties found
No constants found
writeNote()
getXmlWriter()
writeText()
$rootNode
$elementNode
$refNode
$refStyle
$elements
$parentWriter
$dateFormat
N/A
No private methods found
No private properties found
N/A

Properties

$rootNode

$rootNode : string

Name of XML root element

Type

string

$elementNode

$elementNode : string

Name of XML node element

Type

string

$refNode

$refNode : string

Name of XML reference element

Type

string

$refStyle

$refStyle : string

Reference style name

Type

string

$dateFormat

$dateFormat : string

Type

string — Date format

Methods

write()

write() : string

Write part

Returns

string

writeText()

writeText(string  $content) : boolean

Write an XML text, this will call text() or writeRaw() depending on the value of Settings::isOutputEscapingEnabled()

Parameters

string $content

The text string to write

Returns

boolean —

Returns true on success or false on failure