request method must be public static
authorChuck Hagenbuch <chuck@horde.org>
Mon, 15 Jun 2009 01:14:47 +0000 (21:14 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 15 Jun 2009 01:14:47 +0000 (21:14 -0400)
framework/Rpc/lib/Horde/Rpc/Jsonrpc.php
framework/Rpc/lib/Horde/Rpc/Phpgw.php
framework/Rpc/lib/Horde/Rpc/Soap.php
framework/Rpc/lib/Horde/Rpc/Xmlrpc.php

index cc7d929..026a19a 100644 (file)
@@ -147,7 +147,7 @@ class Horde_Rpc_Jsonrpc extends Horde_Rpc
      * @return mixed  The returned result from the method or a PEAR_Error on
      *                failure.
      */
-    function request($url, $method, $params = null, $options = array())
+    public static function request($url, $method, $params = null, $options = array())
     {
         $options['method'] = 'POST';
         $language = isset($GLOBALS['language']) ? $GLOBALS['language'] :
index 1bb0b9e..666e1fc 100644 (file)
@@ -136,7 +136,7 @@ class Horde_Rpc_Phpgw extends Horde_Rpc
      * @return mixed            The returned result from the method or a PEAR
      *                          error object on failure.
      */
-    function request($url, $method, $params = null, $options = array())
+    public static function request($url, $method, $params = null, $options = array())
     {
         $options['method'] = 'POST';
         $language = isset($GLOBALS['language']) ? $GLOBALS['language'] :
index d0ac77d..e9278d6 100644 (file)
@@ -131,7 +131,7 @@ class Horde_Rpc_Soap extends Horde_Rpc
      * @return mixed            The returned result from the method or a PEAR
      *                          error object on failure.
      */
-    public function request($url, $method, $params = null, $options = array())
+    public static function request($url, $method, $params = null, $options = array())
     {
         if (!isset($options['timeout'])) {
             $options['timeout'] = 5;
index 461f513..e950215 100644 (file)
@@ -103,7 +103,7 @@ class Horde_Rpc_Xmlrpc extends Horde_Rpc
      * @return mixed            The returned result from the method or a PEAR
      *                          error object on failure.
      */
-    function request($url, $method, $params = null, $options = array())
+    public static function request($url, $method, $params = null, $options = array())
     {
         $options['method'] = 'POST';
         $language = isset($GLOBALS['language']) ? $GLOBALS['language'] :