Example #1
0
 /**
  * Initializes this Category from an associative array
  *
  * @param array $o
  */
 public function initFromArray($o)
 {
     if (isset($o['scheme'])) {
         $this->scheme = $o["scheme"];
         unset($o['scheme']);
     }
     if (isset($o['term'])) {
         $this->term = $o["term"];
         unset($o['term']);
     }
     if (isset($o['label'])) {
         $this->label = $o["label"];
         unset($o['label']);
     }
     parent::initFromArray($o);
 }
Example #2
0
 /**
  * Initializes this ExtensibleElement from an associative array
  *
  * @param array $o
  */
 public function initFromArray($o)
 {
     parent::initFromArray($o);
 }