FootNotes
class FootNotes
This class allows the storage and retrieval of the attributes of a footnote container attached to a step.
Properties
private Step | $step | ||
private string | $position | ||
private array | $footnotes | ||
private bool | $displayable |
Methods
Returns the position of this footnote container relative to the action buttons.
Sets the position of this footnote container relative to the action buttons.
Returns the list of footnotes contained in this container
Sets the list of footnotes contained in this container
Adds a FootNote Object to the list of footnotes contained in this container
Retrieves a FootNote object by its ID in the list of footnotes contained in this container
Removes a FootNote Object from the list of footnotes contained in this container
Returns the displayable attribute of this footnote container
Returns the displayable attribute of this footnote container
Determines whether this footnote container can be displayed or not
Details
at line 79
void
__construct(Step $step)
Constructor of class FootNotes
at line 90
Step
getStep()
Returns the Step object to which this footnote container is attached.
at line 106
string
getPosition()
Returns the position of this footnote container relative to the action buttons.
Possible values are :
- beforeActions: the footnote container is placed before the action buttons
- afterActions: the footnote container is placed after the action buttons
at line 123
void
setPosition(string $position)
Sets the position of this footnote container relative to the action buttons.
Possible values are :
- beforeActions: the footnote container is placed before the action buttons
- afterActions: the footnote container is placed after the action buttons
at line 134
array
getFootNotes()
Returns the list of footnotes contained in this container
at line 146
void
setFootNotes(array $footnotes)
Sets the list of footnotes contained in this container
at line 158
void
addFootNote(FootNote $footnote)
Adds a FootNote Object to the list of footnotes contained in this container
at line 170
FootNote|null
getFootNoteById(int $id)
Retrieves a FootNote object by its ID in the list of footnotes contained in this container
at line 187
void
removeFootNote(int $index)
Removes a FootNote Object from the list of footnotes contained in this container
at line 198
bool
isDisplayable()
Returns the displayable attribute of this footnote container
at line 209
bool
getDisplayable()
Returns the displayable attribute of this footnote container
at line 221
void
setDisplayable(bool $displayable)
Determines whether this footnote container can be displayed or not