Open Journal Systems  3.3.0
Seboettg\CiteProc\Rendering\Group Class Reference
Inheritance diagram for Seboettg\CiteProc\Rendering\Group:
Seboettg\CiteProc\Rendering\Rendering Seboettg\CiteProc\Rendering\HasParent

Public Member Functions

 __construct (SimpleXMLElement $node, $parent)
 
 getDelimiter ()
 
 getParent ()
 
 hasDelimiter ()
 
 render ($data, $citationNumber=null)
 

Protected Member Functions

 formatting ($textParts, $variables, $haveVariables, $terms)
 

Detailed Description

Definition at line 36 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

Seboettg\CiteProc\Rendering\Group::__construct ( SimpleXMLElement  $node,
  $parent 
)

Group constructor.

Parameters
SimpleXMLElement$node
$parent
Exceptions
InvalidStylesheetException

Definition at line 76 of file Group.php.

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

Member Function Documentation

◆ formatting()

Seboettg\CiteProc\Rendering\Group::formatting (   $textParts,
  $variables,
  $haveVariables,
  $terms 
)
protected
Parameters
$textParts
$variables
$haveVariables
$terms
Returns
string

Definition at line 165 of file Group.php.

References Seboettg\CiteProc\Util\StringHelper\implodeAndPreventConsecutiveChars().

◆ getDelimiter()

Seboettg\CiteProc\Rendering\Group::getDelimiter ( )
Returns
string

Definition at line 199 of file Group.php.

◆ getParent()

Seboettg\CiteProc\Rendering\Group::getParent ( )
Returns
mixed

Implements Seboettg\CiteProc\Rendering\HasParent.

Definition at line 153 of file Group.php.

◆ hasDelimiter()

Seboettg\CiteProc\Rendering\Group::hasDelimiter ( )
Returns
bool

Definition at line 191 of file Group.php.

◆ render()

Seboettg\CiteProc\Rendering\Group::render (   $data,
  $citationNumber = null 
)
Parameters
$data
int | null$citationNumber
Returns
string

Implements Seboettg\CiteProc\Rendering\Rendering.

Definition at line 94 of file Group.php.


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