+ function show_profile($profile, $content_type='xml', $notice=NULL) {
+ $profile_array = $this->twitter_user_array($profile, true);
+ switch ($content_type) {
+ case 'xml':
+ $this->show_twitter_xml_user($profile_array);
+ break;
+ case 'json':
+ $this->show_twitter_json_users($profile_array);
+ break;
+ default:
+ $this->client_error(_('not a supported data format'));
+ return;
+ }
+ }