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;
  }
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;
  }
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 ; }
Returns a list of equipped badges for this client.

@return array
Returns a list of equipped badges for this client .