public function getBadges()
  {
    $badges = array();

    foreach(explode(":", $this["client_badges"]) as $set)
    {
      if(substr($set, 0, 7) == "badges=")
      {
        $badges[] = array_map("trim", explode(",", substr($set, 7)));
      }
    }

    return $badges;
  }