Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Service/Abstract.php
Go to the documentation of this file.
00001 <?php
00026 require_once 'Zend/Http/Client.php';
00027 
00028 
00035 abstract class Zend_Service_Abstract
00036 {
00042     protected static $_httpClient = null;
00043 
00044 
00051     final public static function setHttpClient(Zend_Http_Client $httpClient)
00052     {
00053         self::$_httpClient = $httpClient;
00054     }
00055 
00056 
00062     final public static function getHttpClient()
00063     {
00064         if (!self::$_httpClient instanceof Zend_Http_Client) {
00065             self::$_httpClient = new Zend_Http_Client();
00066         }
00067 
00068         return self::$_httpClient;
00069     }
00070 }
00071 
 All Data Structures Namespaces Files Functions Variables Enumerations