Open Journal Systems  3.3.0
Seboettg\CiteProc\Util\Variables Class Reference

Static Public Member Functions

static isDateVariable ($name)
 
static isNameVariable ($name)
 
static isNumberVariable ($name)
 
static nameHash (stdClass $data, $variable)
 

Data Fields

const DATE_VARIABLES
 
const NAME_VARIABLES
 
const NUMBER_VARIABLES
 
const STANDARD_VARIABLE
 

Detailed Description

Definition at line 25 of file Variables.php.

Member Function Documentation

◆ isDateVariable()

static Seboettg\CiteProc\Util\Variables::isDateVariable (   $name)
static
Parameters
$name
Returns
bool

Definition at line 134 of file Variables.php.

Referenced by Seboettg\CiteProc\Style\Sort\Key\isDateVariable().

◆ isNameVariable()

static Seboettg\CiteProc\Util\Variables::isNameVariable (   $name)
static
Parameters
$name
Returns
bool

Definition at line 152 of file Variables.php.

Referenced by Seboettg\CiteProc\Style\Sort\Key\isNameVariable().

◆ isNumberVariable()

static Seboettg\CiteProc\Util\Variables::isNumberVariable (   $name)
static
Parameters
$name
Returns
bool

Definition at line 143 of file Variables.php.

Referenced by Seboettg\CiteProc\Style\Sort\Key\isNumberVariable().

◆ nameHash()

static Seboettg\CiteProc\Util\Variables::nameHash ( stdClass  $data,
  $variable 
)
static
Parameters
stdClass$data
string$variable
Returns
string
Exceptions
InvalidStylesheetException
CiteProcException

Definition at line 164 of file Variables.php.

Field Documentation

◆ DATE_VARIABLES

const Seboettg\CiteProc\Util\Variables::DATE_VARIABLES
Initial value:
= [
'accessed',
'container',
'event-date',
'issued',
'original-date',
'submitted'
]

Definition at line 56 of file Variables.php.

◆ NAME_VARIABLES

const Seboettg\CiteProc\Util\Variables::NAME_VARIABLES
Initial value:
= [
'author',
'collection-editor',
'composer',
'container-author',
'director',
'editor',
'editorial-director',
'illustrator',
'interviewer',
'original-author',
'recipient',
'reviewed-author'
]

Definition at line 28 of file Variables.php.

◆ NUMBER_VARIABLES

const Seboettg\CiteProc\Util\Variables::NUMBER_VARIABLES
Initial value:
= [
'chapter-number',
'collection-number',
'edition',
'issue',
'number',
'number-of-pages',
'number-of-volumes',
'volume'
]

Definition at line 43 of file Variables.php.

◆ STANDARD_VARIABLE

const Seboettg\CiteProc\Util\Variables::STANDARD_VARIABLE

Definition at line 65 of file Variables.php.


The documentation for this class was generated from the following file: