You are here

public function csl_element::__get in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 modules/CiteProc/CSL.inc \csl_element::__get()
  2. 7.2 modules/CiteProc/CSL.inc \csl_element::__get()

File

modules/CiteProc/CSL.inc, line 252
CiteProc-PHP.

Class

csl_element

Code

public function &__get($name = NULL) {
  $null = NULL;
  if (array_key_exists($name, $this->attributes)) {
    return $this->attributes[$name];
  }
  if (isset($this->{$name})) {
    return $this->{$name};
  }
  return $null;
}