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