You are here

function csl_collection::add_element in Bibliography Module 7.2

Same name and namespace in other branches
  1. 6.2 modules/CiteProc/CSL.inc \csl_collection::add_element()
  2. 7 modules/CiteProc/CSL.inc \csl_collection::add_element()
2 calls to csl_collection::add_element()
csl_element::init in modules/CiteProc/CSL.inc
csl_names::init in modules/CiteProc/CSL.inc

File

modules/CiteProc/CSL.inc, line 131

Class

csl_collection

Code

function add_element($elem) {
  if (isset($elem)) {
    $this->elements[] = $elem;
  }
}