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