public function csl_element::init in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/CiteProc/CSL.inc \csl_element::init()
- 7.2 modules/CiteProc/CSL.inc \csl_element::init()
2 calls to csl_element::init()
- csl_date::init in modules/
CiteProc/ CSL.inc - csl_element::__construct in modules/
CiteProc/ CSL.inc
5 methods override csl_element::init()
- csl_bibliography::init in modules/
CiteProc/ CSL.inc - csl_citation::init in modules/
CiteProc/ CSL.inc - csl_date::init in modules/
CiteProc/ CSL.inc - csl_names::init in modules/
CiteProc/ CSL.inc - csl_text::init in modules/
CiteProc/ CSL.inc
File
- modules/
CiteProc/ CSL.inc, line 216 - CiteProc-PHP.
Class
Code
public function init($dom_node, $citeproc) {
if (!$dom_node) {
return;
}
foreach ($dom_node->childNodes as $node) {
if ($node->nodeType == 1) {
$this
->add_element(csl_factory::create($node, $citeproc));
}
}
}