Beispiel #1
0
 /**
  * \param $tags either a tag or an array of tags
  * \return a TagRequest object
  */
 public function Tags($tags = null)
 {
     $request = new TagRequest($this->api_domain);
     // Add the tags if supplied
     if ($tags !== null) {
         $request->Tag($tags);
     }
     return $request;
 }
Beispiel #2
0
 /**
  * \param $tag either a single tag or an array of tags
  * \return a TagRequest object
  */
 public function Tags($tag = null)
 {
     $url_copy = clone $this->url;
     $request = new TagRequest($url_copy);
     if ($tag !== null) {
         $request->Tag($tag);
     }
     return $request;
 }