class csl_rendering_element in Bibliography Module 7
Same name and namespace in other branches
- 6.2 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 328 - CiteProc-PHP.
View source
class csl_rendering_element extends csl_element {
/**
*
*/
public function render($data, $mode = NULL) {
$text = '';
$text_parts = array();
$delim = $this->delimiter;
foreach ($this->elements as $element) {
$text_parts[] = $element
->render($data, $mode);
}
// Insert the delimiter if supplied.
$text = implode($delim, $text_parts);
return $this
->format($text);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
csl_collection:: |
protected | property | ||
csl_collection:: |
public | function | ||
csl_collection:: |
public | function | 1 | |
csl_element:: |
protected | property | ||
csl_element:: |
protected | property | ||
csl_element:: |
public | function | ||
csl_element:: |
public | function | ||
csl_element:: |
public | function | 5 | |
csl_element:: |
public | function | ||
csl_element:: |
public | function | ||
csl_element:: |
public | function | 2 | |
csl_element:: |
public | function | ||
csl_element:: |
public | function | ||
csl_element:: |
public | function | ||
csl_element:: |
public | function | ||
csl_rendering_element:: |
public | function |
Overrides csl_collection:: |
11 |