summaryrefslogtreecommitdiff
path: root/actions/apifriendshipsshow.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-09 17:53:35 -0700
committerZach Copley <zach@status.net>2009-10-09 17:53:35 -0700
commit061af8fa06ccb98f667d1ee670da2dbb179d8b0e (patch)
tree2a7ac2a05af3782d012d6e4b4fe8905a250de993 /actions/apifriendshipsshow.php
parentb08d16ef2bf5995ca2feee2d2688e0080eaf5124 (diff)
CamelCase all function names in the API code
Diffstat (limited to 'actions/apifriendshipsshow.php')
-rw-r--r--actions/apifriendshipsshow.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/actions/apifriendshipsshow.php b/actions/apifriendshipsshow.php
index 0ae6a7b82..8850496c7 100644
--- a/actions/apifriendshipsshow.php
+++ b/actions/apifriendshipsshow.php
@@ -143,18 +143,18 @@ class ApiFriendshipsShowAction extends ApiBareAuthAction
return;
}
- $result = $this->twitter_relationship_array($this->source, $this->target);
+ $result = $this->twitterRelationshipArray($this->source, $this->target);
switch ($this->format) {
case 'xml':
- $this->init_document('xml');
- $this->show_twitter_xml_relationship($result[relationship]);
- $this->end_document('xml');
+ $this->initDocument('xml');
+ $this->showTwitterXmlRelationship($result[relationship]);
+ $this->endDocument('xml');
break;
case 'json':
- $this->init_document('json');
+ $this->initDocument('json');
print json_encode($result);
- $this->end_document('json');
+ $this->endDocument('json');
break;
default:
break;