Endnote
extends Footnote
in package
Endnote element HTML writer.
Tags
Table of Contents
Properties
- $element : AbstractElement
- Element.
- $noteType : string
- Note type.
- $parentWriter : HTML
- Parent writer.
- $withoutP : bool
- Without paragraph.
Methods
- __construct() : mixed
- Create new instance.
- setWithoutP() : void
- Set without paragraph.
- write() : string
- Write footnote/endnote marks; The actual content is written in parent writer (HTML).
Properties
$element
Element.
protected
AbstractElement
$element
$noteType
Note type.
protected
string
$noteType
= 'endnote'
$parentWriter
Parent writer.
protected
HTML
$parentWriter
$withoutP
Without paragraph.
protected
bool
$withoutP
= false
Methods
__construct()
Create new instance.
public
__construct(HTML $parentWriter, AbstractElement $element[, bool $withoutP = false ]) : mixed
Parameters
- $parentWriter : HTML
- $element : AbstractElement
- $withoutP : bool = false
setWithoutP()
Set without paragraph.
public
setWithoutP(bool $value) : void
Parameters
- $value : bool
write()
Write footnote/endnote marks; The actual content is written in parent writer (HTML).
public
write() : string