Add a setter for the data format member
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 7 Jan 2009 16:27:06 +0000 (11:27 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 7 Jan 2009 16:27:59 +0000 (11:27 -0500)
framework/Service_Vimeo/lib/Horde/Service/Vimeo.php

index d689598..7cb6336 100644 (file)
@@ -56,6 +56,11 @@ class Horde_Service_Vimeo {
         return self::$_format;
     }
 
+    public static function setFormat($format)
+    {
+        self::$_format = $format;
+    }
+
     /**
      * Get the raw JSON response containing the data to embed a single video.
      *