Просмотр исходного кода

added getAdapter method resolving issue ZF-8027

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18637 44c647ce-9c0f-0410-b52a-842ac1e357ba
klassicd 16 лет назад
Родитель
Сommit
e68bcb13f1
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      library/Zend/Http/Client.php

+ 10 - 0
library/Zend/Http/Client.php

@@ -834,6 +834,16 @@ class Zend_Http_Client
         unset($config['adapter']);
         $this->adapter->setConfig($config);
     }
+    
+    /**
+     * Load the connection adapter
+     *
+     * @return Zend_Http_Client_Adapter_Interface $adapter
+     */
+    public function getAdapter()
+    {
+    	return $this->adapter;
+    }
 
     /**
      * Send the HTTP request and return an HTTP response object