url->SetMethod('name'); return $this; } /// Returns recently awarded badges. /** * \return the current instance */ public function Recipients() { $this->url->SetMethod('recipients'); return $this; } /// Returns all tag-based badges. /** * \return the current instance */ public function Tags() { $this->url->SetMethod('tags'); return $this; } /// Causes badges to be sorted according to the date they were awarded. /** * \return the current instance */ public function SortByAwarded() { $this->SortBy('awarded'); return $this; } /// Causes badges to be sorted according to their rank. /** * \return the current instance */ public function SortByRank() { $this->SortBy('rank'); return $this; } /// Causes badges to be sorted according to their type. /** * \return the current instance */ public function SortByType() { $this->SortBy('type'); return $this; } } endif;