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