/** * Returns the associative array for this Category * * @return array */ public function toArray() { $a = parent::toArray(); if ($this->scheme) { $a["scheme"] = $this->scheme; } if ($this->term) { $a["term"] = $this->term; } if ($this->label) { $a["label"] = $this->label; } return $a; }
/** * Returns the associative array for this ExtensibleElement * * @return array */ public function toArray() { $a = parent::toArray(); return $a; }