Open Journal Systems
3.3.0
DelimiterTrait.php
1
<?php
2
/*
3
* citeproc-php
4
*
5
* @link http://github.com/seboettg/citeproc-php for the source repository
6
* @copyright Copyright (c) 2016 Sebastian Böttger.
7
* @license https://opensource.org/licenses/MIT
8
*/
9
10
namespace
Seboettg\CiteProc\Styles
;
11
12
use SimpleXMLElement;
13
19
trait DelimiterTrait
20
{
21
25
protected
function
initDelimiterAttributes(SimpleXMLElement $node)
26
{
27
foreach
($node->attributes() as $attribute) {
29
$name = (string) $attribute->getName();
30
$value = (string) $attribute;
31
32
switch
($name) {
33
case
'delimiter'
:
34
$this->delimiter = $value;
35
return
;
36
}
37
}
38
}
39
}
Seboettg\CiteProc\Styles
Definition:
AffixesTrait.php:10
plugins
generic
citationStyleLanguage
lib
vendor
seboettg
citeproc-php
src
Styles
DelimiterTrait.php
Generated on Fri Aug 28 2020 14:51:29 for Open Journal Systems by
1.8.17