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