You are here

class csl_choose in Bibliography Module 6.2

Same name and namespace in other branches
  1. 7 modules/CiteProc/CSL.inc \csl_choose
  2. 7.2 modules/CiteProc/CSL.inc \csl_choose

Hierarchy

Expanded class hierarchy of csl_choose

File

modules/CiteProc/CSL.inc, line 1456

View source
class csl_choose extends csl_element {
  function render($data, $mode = NULL) {
    foreach ($this->elements as $choice) {
      if ($choice
        ->evaluate($data)) {
        return $choice
          ->render($data, $mode);
      }
    }
  }

}

Members