method case - no fully uppercase names for horde 4
authorChuck Hagenbuch <chuck@horde.org>
Mon, 29 Dec 2008 00:19:57 +0000 (19:19 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 29 Dec 2008 00:19:57 +0000 (19:19 -0500)
framework/Service_Vimeo/doc/vimeo_example.php
framework/Service_Vimeo/lib/Horde/Service/Vimeo.php

index 09f8693..d236705 100644 (file)
@@ -15,7 +15,7 @@ $results = unserialize($v->channel('theedit')->clips()->run());
 $results = unserialize($v->album('52803')->clips()->run());
 
 // Get first video to embed
-$embed = $v->getEmbedJSON($latest['url']);
+$embed = $v->getEmbedJson($latest['url']);
 
 // Decode the data and print out the HTML
 $results = Horde_Serialize::unserialize($embed, SERIALIZE_JSON);
index aa6783e..425a438 100644 (file)
@@ -74,7 +74,7 @@ class Horde_Service_Vimeo {
      *
      * @return JSON encoded data
      */
-    public function getEmbedJSON($options)
+    public function getEmbedJson($options)
     {
         $request = new Horde_Service_Vimeo_Request();
         return $request->embed($options);