Exemplo n.º 1
0
 public function __construct($tagArray)
 {
     if (!$tagArray) {
         return;
     } elseif (is_string($tagArray)) {
         $tagArray = json_decode($tagArray);
     }
     parent::__construct($tagArray);
 }
Exemplo n.º 2
0
 public function __construct($itemArray = null, $library = null)
 {
     if (!$itemArray) {
         return;
     }
     parent::__construct($itemArray);
     if ($library !== null) {
         $this->associateWithLibrary($library);
     }
 }
Exemplo n.º 3
0
 public function __construct($groupArray = null)
 {
     parent::__construct($groupArray);
     //TODO: parse out links from response?
 }