summaryrefslogtreecommitdiffstats
path: root/lib/class/random.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/random.class.php')
-rw-r--r--lib/class/random.class.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/class/random.class.php b/lib/class/random.class.php
index 8c8a55e7..0863a60a 100644
--- a/lib/class/random.class.php
+++ b/lib/class/random.class.php
@@ -26,7 +26,7 @@
* by this class, there isn't a table for this class so most of it's functions
* are static
*/
-class Random {
+class Random implements media {
/**
* Constructor
@@ -91,7 +91,7 @@ class Random {
* This generates a random play url based on the passed type
* and returns it
*/
- public static function play_url($type) {
+ public static function play_url($type,$sid='',$force_http='') {
if (!$type = self::validate_type($type)) {
return false;
@@ -99,7 +99,7 @@ class Random {
$uid = $GLOBALS['user']->id;
- $url = Stream::get_base_url() . "random=1&type=$type&uid=$uid$session_string";
+ $url = Stream::get_base_url() . "random=1&type=$type&uid=$uid";
return $url;
@@ -442,6 +442,11 @@ class Random {
} // validate_type
+ public function native_stream() { }
+ public function stream_cmd() { }
+ public function has_flag() { }
+ public function format() { }
+
} //end of random class
?>