Definition at line 36 of file Names.php.
◆ __construct()
Seboettg\CiteProc\Rendering\Name\Names::__construct |
( |
SimpleXMLElement |
$node, |
|
|
|
$parent |
|
) |
| |
◆ getDelimiter()
Seboettg\CiteProc\Rendering\Name\Names::getDelimiter |
( |
| ) |
|
◆ getEtAl()
Seboettg\CiteProc\Rendering\Name\Names::getEtAl |
( |
| ) |
|
◆ getLabel()
Seboettg\CiteProc\Rendering\Name\Names::getLabel |
( |
| ) |
|
◆ getName()
Seboettg\CiteProc\Rendering\Name\Names::getName |
( |
| ) |
|
◆ getParent()
Seboettg\CiteProc\Rendering\Name\Names::getParent |
( |
| ) |
|
◆ getVariables()
Seboettg\CiteProc\Rendering\Name\Names::getVariables |
( |
| ) |
|
◆ hasEtAl()
Seboettg\CiteProc\Rendering\Name\Names::hasEtAl |
( |
| ) |
|
◆ hasLabel()
Seboettg\CiteProc\Rendering\Name\Names::hasLabel |
( |
| ) |
|
◆ hasName()
Seboettg\CiteProc\Rendering\Name\Names::hasName |
( |
| ) |
|
◆ render()
Seboettg\CiteProc\Rendering\Name\Names::render |
( |
|
$data, |
|
|
|
$citationNumber = null |
|
) |
| |
This outputs the contents of one or more name variables (selected with the required variable attribute), each of which can contain multiple names (e.g. the “author” variable contains all the author names of the cited item). If multiple variables are selected (separated by single spaces), each variable is independently rendered in the order specified, with one exception: when the selection consists of “editor” and “translator”, and when the contents of these two name variables is identical, then the contents of only one name variable is rendered. In addition, the “editortranslator” term is used if the Names element contains a Label element, replacing the default “editor” and “translator” terms (e.g. resulting in “Doe (editor & translator)”).
- Parameters
-
stdClass | $data | |
int | null | $citationNumber | |
- Returns
- string
- Exceptions
-
Implements Seboettg\CiteProc\Rendering\Rendering.
Definition at line 190 of file Names.php.
References Seboettg\CiteProc\Util\NameHelper\addExtendedMarkup(), Seboettg\CiteProc\CiteProc\getContext(), Seboettg\CiteProc\Util\NameHelper\sameNames(), and Seboettg\CiteProc\RenderingState\SUBSTITUTION.
◆ setEtAl()
Seboettg\CiteProc\Rendering\Name\Names::setEtAl |
( |
EtAl |
$etAl | ) |
|
- Parameters
-
- Returns
- $this
Definition at line 316 of file Names.php.
◆ setLabel()
Seboettg\CiteProc\Rendering\Name\Names::setLabel |
( |
|
$label | ) |
|
◆ setName()
Seboettg\CiteProc\Rendering\Name\Names::setName |
( |
Name |
$name | ) |
|
- Parameters
-
- Returns
- $this
Definition at line 342 of file Names.php.
The documentation for this class was generated from the following file: