Open Journal Systems  3.3.0
Seboettg\CiteProc\Rendering\Date\Date Class Reference

Public Member Functions

 __construct (SimpleXMLElement $node)
 
 getForm ()
 
 getVariable ()
 
 render ($data)
 

Data Fields

const DATE_RANGE_STATE_DAY = 1
 
const DATE_RANGE_STATE_MONTH = 2
 
const DATE_RANGE_STATE_MONTHDAY = 3
 
const DATE_RANGE_STATE_NONE = 0
 
const DATE_RANGE_STATE_YEAR = 4
 
const DATE_RANGE_STATE_YEARDAY = 5
 
const DATE_RANGE_STATE_YEARMONTH = 6
 
const DATE_RANGE_STATE_YEARMONTHDAY = 7
 

Detailed Description

Definition at line 31 of file Date.php.

Constructor & Destructor Documentation

◆ __construct()

Seboettg\CiteProc\Rendering\Date\Date::__construct ( SimpleXMLElement  $node)

Date constructor.

Parameters
SimpleXMLElement$node
Exceptions
InvalidStylesheetException

Definition at line 90 of file Date.php.

References Seboettg\CiteProc\Util\Factory\create().

Member Function Documentation

◆ getForm()

Seboettg\CiteProc\Rendering\Date\Date::getForm ( )

Definition at line 378 of file Date.php.

◆ getVariable()

Seboettg\CiteProc\Rendering\Date\Date::getVariable ( )
Returns
string

Definition at line 311 of file Date.php.

◆ render()

Seboettg\CiteProc\Rendering\Date\Date::render (   $data)
Parameters
$data
Returns
string
Exceptions
InvalidStylesheetException
Exception

Definition at line 127 of file Date.php.

Field Documentation

◆ DATE_RANGE_STATE_DAY

const Seboettg\CiteProc\Rendering\Date\Date::DATE_RANGE_STATE_DAY = 1

Definition at line 40 of file Date.php.

◆ DATE_RANGE_STATE_MONTH

const Seboettg\CiteProc\Rendering\Date\Date::DATE_RANGE_STATE_MONTH = 2

Definition at line 41 of file Date.php.

◆ DATE_RANGE_STATE_MONTHDAY

const Seboettg\CiteProc\Rendering\Date\Date::DATE_RANGE_STATE_MONTHDAY = 3

Definition at line 42 of file Date.php.

◆ DATE_RANGE_STATE_NONE

const Seboettg\CiteProc\Rendering\Date\Date::DATE_RANGE_STATE_NONE = 0

Definition at line 39 of file Date.php.

◆ DATE_RANGE_STATE_YEAR

const Seboettg\CiteProc\Rendering\Date\Date::DATE_RANGE_STATE_YEAR = 4

Definition at line 43 of file Date.php.

◆ DATE_RANGE_STATE_YEARDAY

const Seboettg\CiteProc\Rendering\Date\Date::DATE_RANGE_STATE_YEARDAY = 5

Definition at line 44 of file Date.php.

◆ DATE_RANGE_STATE_YEARMONTH

const Seboettg\CiteProc\Rendering\Date\Date::DATE_RANGE_STATE_YEARMONTH = 6

Definition at line 45 of file Date.php.

◆ DATE_RANGE_STATE_YEARMONTHDAY

const Seboettg\CiteProc\Rendering\Date\Date::DATE_RANGE_STATE_YEARMONTHDAY = 7

Definition at line 46 of file Date.php.


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