public function csl_choose::render in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/CiteProc/CSL.inc \csl_choose::render()
- 7.2 modules/CiteProc/CSL.inc \csl_choose::render()
Overrides csl_collection::render
File
- modules/
CiteProc/ CSL.inc, line 1914 - CiteProc-PHP.
Class
Code
public function render($data, $mode = NULL) {
foreach ($this->elements as $choice) {
if ($choice
->evaluate($data)) {
return $choice
->render($data, $mode);
}
}
}