You are here

public function csl_collection::add_element in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 modules/CiteProc/CSL.inc \csl_collection::add_element()
  2. 7.2 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 175
CiteProc-PHP.

Class

csl_collection

Code

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