class csl_rendering_element in Bibliography Module 6.2
Same name and namespace in other branches
- 7 modules/CiteProc/CSL.inc \csl_rendering_element
- 7.2 modules/CiteProc/CSL.inc \csl_rendering_element
Hierarchy
- class \csl_collection
- class \csl_element
- class \csl_rendering_element
- class \csl_element
Expanded class hierarchy of csl_rendering_element
File
- modules/
CiteProc/ CSL.inc, line 237
View source
class csl_rendering_element extends csl_element {
function render($data, $mode = NULL) {
$text = '';
$text_parts = array();
$delim = $this->delimiter;
foreach ($this->elements as $element) {
$text_parts[] = $element
->render($data, $mode);
}
$text = implode($delim, $text_parts);
// insert the delimiter if supplied.
return $this
->format($text);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
csl_collection:: |
protected | property | ||
csl_collection:: |
function | |||
csl_collection:: |
function | 1 | ||
csl_element:: |
protected | property | ||
csl_element:: |
protected | property | ||
csl_element:: |
function | |||
csl_element:: |
function | |||
csl_element:: |
function | 5 | ||
csl_element:: |
function | |||
csl_element:: |
function | |||
csl_element:: |
function | 2 | ||
csl_element:: |
function | |||
csl_element:: |
function | |||
csl_element:: |
function | |||
csl_element:: |
function | |||
csl_rendering_element:: |
function |
Overrides csl_collection:: |
11 |