Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Soap/Client/Common.php
Go to the documentation of this file.
00001 <?php
00024 if (extension_loaded('soap')) {
00025 
00031 class Zend_Soap_Client_Common extends SoapClient
00032 {
00038     protected $_doRequestCallback;
00039 
00047     function __construct($doRequestCallback, $wsdl, $options)
00048     {
00049         $this->_doRequestCallback = $doRequestCallback;
00050 
00051         parent::__construct($wsdl, $options);
00052     }
00053 
00065     function __doRequest($request, $location, $action, $version, $one_way = null)
00066     {
00067         if ($one_way === null) {
00068             return call_user_func($this->_doRequestCallback, $this, $request, $location, $action, $version);
00069         } else {
00070             return call_user_func($this->_doRequestCallback, $this, $request, $location, $action, $version, $one_way);
00071         }
00072     }
00073 
00074 }
00075 
00076 } // end if (extension_loaded('soap')
 All Data Structures Namespaces Files Functions Variables Enumerations