* @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'] :
* @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'] :
* @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;
* @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'] :