public function csl_element::get_hier_attributes in Bibliography Module 7
Same name and namespace in other branches
- 6.2 modules/CiteProc/CSL.inc \csl_element::get_hier_attributes()
- 7.2 modules/CiteProc/CSL.inc \csl_element::get_hier_attributes()
1 call to csl_element::get_hier_attributes()
- csl_bibliography::init in modules/
CiteProc/ CSL.inc
File
- modules/
CiteProc/ CSL.inc, line 296 - CiteProc-PHP.
Class
Code
public function get_hier_attributes() {
$hier_attr = array();
$hier_names = array(
'and',
'delimiter-precedes-last',
'et-al-min',
'et-al-use-first',
'et-al-subsequent-min',
'et-al-subsequent-use-first',
'initialize-with',
'name-as-sort-order',
'sort-separator',
'name-form',
'name-delimiter',
'names-delimiter',
);
foreach ($hier_names as $name) {
if (isset($this->attributes[$name])) {
$hier_attr[$name] = $this->attributes[$name];
}
}
return $hier_attr;
}