function csl_macros::__construct in Bibliography Module 7.2
Same name and namespace in other branches
- 6.2 modules/CiteProc/CSL.inc \csl_macros::__construct()
- 7 modules/CiteProc/CSL.inc \csl_macros::__construct()
File
- modules/
CiteProc/ CSL.inc, line 1197
Class
Code
function __construct($macro_nodes, $citeproc) {
foreach ($macro_nodes as $macro) {
$macro = csl_factory::create($macro, $citeproc);
$this->elements[$macro
->name()] = $macro;
}
}