phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc class.nusoap_base.inc.php class.ph...


From: Caeies
Subject: [Phpgroupware-cvs] phpgwapi/inc class.nusoap_base.inc.php class.ph...
Date: Thu, 28 Dec 2006 18:03:40 +0000

CVSROOT:        /cvsroot/phpgwapi
Module name:    phpgwapi
Changes by:     Caeies <Caeies> 06/12/28 18:03:40

Modified files:
        inc            : class.nusoap_base.inc.php 
                         class.phpgw_soapval.inc.php 
                         class.soap_client.inc.php 
                         class.soapclient.inc.php 
                         class.soap_fault.inc.php 
                         class.soap_parser.inc.php 
                         class.soap_server.inc.php 
                         class.soap_transport_http.inc.php 
                         class.soapval.inc.php 
                         class.soap_XMLSchema.inc.php class.wsdl.inc.php 

Log message:
        prefixing soap classes (generated) with phpgwapi

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.nusoap_base.inc.php?cvsroot=phpgwapi&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.phpgw_soapval.inc.php?cvsroot=phpgwapi&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.soap_client.inc.php?cvsroot=phpgwapi&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.soapclient.inc.php?cvsroot=phpgwapi&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.soap_fault.inc.php?cvsroot=phpgwapi&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.soap_parser.inc.php?cvsroot=phpgwapi&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.soap_server.inc.php?cvsroot=phpgwapi&r1=1.14&r2=1.15
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.soap_transport_http.inc.php?cvsroot=phpgwapi&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.soapval.inc.php?cvsroot=phpgwapi&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.soap_XMLSchema.inc.php?cvsroot=phpgwapi&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.wsdl.inc.php?cvsroot=phpgwapi&r1=1.7&r2=1.8

Patches:
Index: class.nusoap_base.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.nusoap_base.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- class.nusoap_base.inc.php   24 Sep 2006 11:51:10 -0000      1.1
+++ class.nusoap_base.inc.php   28 Dec 2006 18:03:40 -0000      1.2
@@ -7,7 +7,7 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.nusoap_base.inc.php,v 1.1 2006/09/24 11:51:10 
Caeies Exp $
+       * @version $Id: class.nusoap_base.inc.php,v 1.2 2006/12/28 18:03:40 
Caeies Exp $
        */
 
 /*
@@ -78,7 +78,7 @@
 * @version  $ I d : nusoap.php,v 1.95 2006/02/02 15:52:34 snichol Exp $
 * @access   public
 */
-class nusoap_base {
+class phpgwapi_nusoap_base {
        /**
         * Identification for HTTP headers.
         *
@@ -99,7 +99,7 @@
         * @var string
         * @access private
         */
-       var $revision = '$Revision: 1.1 $';
+       var $revision = '$Revision: 1.2 $';
     /**
      * Current error string (manipulated by getError/setError)
         *
@@ -218,7 +218,7 @@
        *
        * @access       public
        */
-       function nusoap_base() {
+       function phpgwapi_nusoap_base() {
                $this->debugLevel = 
$GLOBALS['_transient']['static']['nusoap_base']->globalDebugLevel;
        }
 

Index: class.phpgw_soapval.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.phpgw_soapval.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- class.phpgw_soapval.inc.php 24 Sep 2006 11:51:10 -0000      1.1
+++ class.phpgw_soapval.inc.php 28 Dec 2006 18:03:40 -0000      1.2
@@ -7,15 +7,15 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.phpgw_soapval.inc.php,v 1.1 2006/09/24 11:51:10 
Caeies Exp $
+       * @version $Id: class.phpgw_soapval.inc.php,v 1.2 2006/12/28 18:03:40 
Caeies Exp $
        */
 
 /* Please see class.base_nusoap.inc.php for more information */
 
-if (@!$GLOBALS['phpgw_info']['flags']['included_classes']['soapval'])
+if (@!$GLOBALS['phpgw_info']['flags']['included_classes']['phpgwapi_soapval'])
 {
-       require_once(PHPGW_API_INC."/class.soapval.inc.php");
-       $GLOBALS['phpgw_info']['flags']['included_classes']['soapval'] = True;
+       require_once(PHPGW_API_INC."/class.phpgwapi_soapval.inc.php");
+       $GLOBALS['phpgw_info']['flags']['included_classes']['phpgwapi_soapval'] 
= True;
 }
        /**
        * SOAPx4 value object
@@ -28,7 +28,7 @@
        * @copyright Portions Copyright (C) 2003,2004 Free Software Foundation, 
Inc. http://www.fsf.org/
        * @package phpgwapi
        * @subpackage communication
-       * @version $ I d : nusoap2phpgwapi,v 1.2 2006/09/09 11:40:49 Caeies Exp 
$
+       * @version $ I d : nusoap2phpgwapi,v 1.3 2006/09/24 13:01:46 Caeies Exp 
$
        * @internal This project began based on code from the 2 projects below,
        * @internal and still contains some original code. The licenses of both 
must be respected.
        * @internal XML-RPC for PHP; SOAP for PHP
@@ -40,9 +40,9 @@
        * @package phpgwapi
        * @subpackage communication
        */
-class phpgw_soapval extends soapval 
+class phpgwapi_phpgw_soapval extends phpgwapi_phpgwapi_soapval 
        {
-       //      function 
phpgw_soapval($name='',$type=False,$value=-1,$namespace=False,$type_namespace=False)
+       //      function 
phpgwapi_phpgw_soapval($name='',$type=False,$value=-1,$namespace=False,$type_namespace=False)
                function 
phpgw_soapval($name='',$type=False,$value=0,$namespace=False,$type_namespace=False)
                {
                        // detect type if not passed

Index: class.soap_client.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.soap_client.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- class.soap_client.inc.php   24 Sep 2006 11:51:10 -0000      1.10
+++ class.soap_client.inc.php   28 Dec 2006 18:03:40 -0000      1.11
@@ -7,15 +7,15 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.soap_client.inc.php,v 1.10 2006/09/24 11:51:10 
Caeies Exp $
+       * @version $Id: class.soap_client.inc.php,v 1.11 2006/12/28 18:03:40 
Caeies Exp $
        */
 
 /* Please see class.base_nusoap.inc.php for more information */
 
-if 
(@!$GLOBALS['phpgw_info']['flags']['included_classes']['soap_transport_http'])
+if 
(@!$GLOBALS['phpgw_info']['flags']['included_classes']['phpgwapi_soap_transport_http'])
 {
-       require_once(PHPGW_API_INC."/class.soap_transport_http.inc.php");
-       
$GLOBALS['phpgw_info']['flags']['included_classes']['soap_transport_http'] = 
True;
+       
require_once(PHPGW_API_INC."/class.phpgwapi_soap_transport_http.inc.php");
+       
$GLOBALS['phpgw_info']['flags']['included_classes']['phpgwapi_soap_transport_http']
 = True;
 }
 /***************************************************************************
 * TOTALY DEPRECATED , DON'T USE
@@ -47,9 +47,9 @@
        * @deprecated : this is a wrapper to class.soap_transport_http.inc.php
        */
 
-class soap_client extends soap_transport_http 
+class phpgwapi_soap_client extends phpgwapi_phpgwapi_soap_transport_http 
        {
-                function soap_client($path,$server=False,$port=False)
+                function phpgwapi_soap_client($path,$server=False,$port=False)
                 {
                        $url = '';
                        /* We MUST Heavily test this !! */

Index: class.soapclient.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.soapclient.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- class.soapclient.inc.php    24 Sep 2006 13:04:18 -0000      1.12
+++ class.soapclient.inc.php    28 Dec 2006 18:03:40 -0000      1.13
@@ -7,7 +7,7 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.soapclient.inc.php,v 1.12 2006/09/24 13:04:18 
Caeies Exp $
+       * @version $Id: class.soapclient.inc.php,v 1.13 2006/12/28 18:03:40 
Caeies Exp $
        */
 
 /* Please see class.base_nusoap.inc.php for more information */
@@ -39,7 +39,7 @@
 * @version  $ I d : nusoap.php,v 1.95 2006/02/02 15:52:34 snichol Exp $
 * @access   public
 */
-class soapclient extends nusoap_base  {
+class phpgwapi_soapclient extends phpgwapi_nusoap_base  {
 
        var $username = '';
        var $password = '';
@@ -106,8 +106,8 @@
        * @param        integer $response_timeout set the response timeout
        * @access   public
        */
-       function soapclient($endpoint,$wsdl = false,$proxyhost = 
false,$proxyport = false,$proxyusername = false, $proxypassword = false, 
$timeout = 0, $response_timeout = 30){
-               parent::nusoap_base();
+       function phpgwapi_soapclient($endpoint,$wsdl = false,$proxyhost = 
false,$proxyport = false,$proxyusername = false, $proxypassword = false, 
$timeout = 0, $response_timeout = 30){
+               parent::phpgwapi_nusoap_base();
                $this->endpoint = $endpoint;
                $this->proxyhost = $proxyhost;
                $this->proxyport = $proxyport;

Index: class.soap_fault.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.soap_fault.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- class.soap_fault.inc.php    24 Sep 2006 11:51:10 -0000      1.1
+++ class.soap_fault.inc.php    28 Dec 2006 18:03:40 -0000      1.2
@@ -7,7 +7,7 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.soap_fault.inc.php,v 1.1 2006/09/24 11:51:10 
Caeies Exp $
+       * @version $Id: class.soap_fault.inc.php,v 1.2 2006/12/28 18:03:40 
Caeies Exp $
        */
 
 /* Please see class.base_nusoap.inc.php for more information */
@@ -28,7 +28,7 @@
 * @version  $ I d : nusoap.php,v 1.95 2006/02/02 15:52:34 snichol Exp $
 * @access public
 */
-class soap_fault extends nusoap_base {
+class phpgwapi_soap_fault extends phpgwapi_nusoap_base {
        /**
         * The fault code (client|server)
         * @var string
@@ -62,8 +62,8 @@
     * @param string $faultstring human readable error message
     * @param mixed $faultdetail detail, typically a string or array of string
        */
-       function 
soap_fault($faultcode,$faultactor='',$faultstring='',$faultdetail=''){
-               parent::nusoap_base();
+       function 
phpgwapi_soap_fault($faultcode,$faultactor='',$faultstring='',$faultdetail=''){
+               parent::phpgwapi_nusoap_base();
                $this->faultcode = $faultcode;
                $this->faultactor = $faultactor;
                $this->faultstring = $faultstring;

Index: class.soap_parser.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.soap_parser.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- class.soap_parser.inc.php   24 Sep 2006 11:51:10 -0000      1.10
+++ class.soap_parser.inc.php   28 Dec 2006 18:03:40 -0000      1.11
@@ -7,7 +7,7 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.soap_parser.inc.php,v 1.10 2006/09/24 11:51:10 
Caeies Exp $
+       * @version $Id: class.soap_parser.inc.php,v 1.11 2006/12/28 18:03:40 
Caeies Exp $
        */
 
 /* Please see class.base_nusoap.inc.php for more information */
@@ -28,7 +28,7 @@
 * @version  $ I d : nusoap.php,v 1.95 2006/02/02 15:52:34 snichol Exp $
 * @access   public
 */
-class soap_parser extends nusoap_base {
+class phpgwapi_soap_parser extends phpgwapi_nusoap_base {
 
        var $xml = '';
        var $xml_encoding = '';
@@ -72,8 +72,8 @@
        * @param    string $decode_utf8 whether to decode UTF-8 to ISO-8859-1
        * @access   public
        */
-       function 
soap_parser($xml,$encoding='UTF-8',$method='',$decode_utf8=true){
-               parent::nusoap_base();
+       function 
phpgwapi_soap_parser($xml,$encoding='UTF-8',$method='',$decode_utf8=true){
+               parent::phpgwapi_nusoap_base();
                $this->xml = $xml;
                $this->xml_encoding = $encoding;
                $this->method = $method;

Index: class.soap_server.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.soap_server.inc.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- class.soap_server.inc.php   24 Sep 2006 11:51:10 -0000      1.14
+++ class.soap_server.inc.php   28 Dec 2006 18:03:40 -0000      1.15
@@ -7,7 +7,7 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.soap_server.inc.php,v 1.14 2006/09/24 11:51:10 
Caeies Exp $
+       * @version $Id: class.soap_server.inc.php,v 1.15 2006/12/28 18:03:40 
Caeies Exp $
        */
 
 /* Please see class.base_nusoap.inc.php for more information */
@@ -31,7 +31,7 @@
 * @version  $ I d : nusoap.php,v 1.95 2006/02/02 15:52:34 snichol Exp $
 * @access   public
 */
-class soap_server extends nusoap_base {
+class phpgwapi_soap_server extends phpgwapi_nusoap_base {
        /**
         * HTTP headers of request
         * @var array
@@ -182,8 +182,8 @@
     * @param mixed $wsdl file path or URL (string), or wsdl instance (object)
        * @access   public
        */
-       function soap_server($wsdl=false){
-               parent::nusoap_base();
+       function phpgwapi_soap_server($wsdl=false){
+               parent::phpgwapi_nusoap_base();
                // turn on debugging?
                global $debug;
                global $HTTP_SERVER_VARS;

Index: class.soap_transport_http.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.soap_transport_http.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- class.soap_transport_http.inc.php   24 Sep 2006 11:51:10 -0000      1.1
+++ class.soap_transport_http.inc.php   28 Dec 2006 18:03:40 -0000      1.2
@@ -7,7 +7,7 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.soap_transport_http.inc.php,v 1.1 2006/09/24 
11:51:10 Caeies Exp $
+       * @version $Id: class.soap_transport_http.inc.php,v 1.2 2006/12/28 
18:03:40 Caeies Exp $
        */
 
 /* Please see class.base_nusoap.inc.php for more information */
@@ -28,7 +28,7 @@
 * @version  $ I d : nusoap.php,v 1.95 2006/02/02 15:52:34 snichol Exp $
 * @access public
 */
-class soap_transport_http extends nusoap_base {
+class phpgwapi_soap_transport_http extends phpgwapi_nusoap_base {
 
        var $url = '';
        var $uri = '';
@@ -63,8 +63,8 @@
        /**
        * constructor
        */
-       function soap_transport_http($url){
-               parent::nusoap_base();
+       function phpgwapi_soap_transport_http($url){
+               parent::phpgwapi_nusoap_base();
                $this->setURL($url);
                ereg('\$Revisio' . 'n: ([^ ]+)', $this->revision, $rev);
                $this->outgoing_headers['User-Agent'] = 
$this->title.'/'.$this->version.' ('.$rev[1].')';

Index: class.soapval.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.soapval.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- class.soapval.inc.php       24 Sep 2006 11:51:10 -0000      1.13
+++ class.soapval.inc.php       28 Dec 2006 18:03:40 -0000      1.14
@@ -7,7 +7,7 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.soapval.inc.php,v 1.13 2006/09/24 11:51:10 Caeies 
Exp $
+       * @version $Id: class.soapval.inc.php,v 1.14 2006/12/28 18:03:40 Caeies 
Exp $
        */
 
 /* Please see class.base_nusoap.inc.php for more information */
@@ -31,7 +31,7 @@
 * @version  $ I d : nusoap.php,v 1.95 2006/02/02 15:52:34 snichol Exp $
 * @access   public
 */
-class soapval extends nusoap_base {
+class phpgwapi_soapval extends phpgwapi_nusoap_base {
        /**
         * The XML element name
         *
@@ -86,8 +86,8 @@
        * @param        mixed $attributes associative array of attributes to 
add to element serialization
        * @access   public
        */
-       function 
soapval($name='soapval',$type=false,$value=-1,$element_ns=false,$type_ns=false,$attributes=false)
 {
-               parent::nusoap_base();
+       function 
phpgwapi_soapval($name='soapval',$type=false,$value=-1,$element_ns=false,$type_ns=false,$attributes=false)
 {
+               parent::phpgwapi_nusoap_base();
                $this->name = $name;
                $this->type = $type;
                $this->value = $value;

Index: class.soap_XMLSchema.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.soap_XMLSchema.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- class.soap_XMLSchema.inc.php        24 Sep 2006 11:51:10 -0000      1.1
+++ class.soap_XMLSchema.inc.php        28 Dec 2006 18:03:40 -0000      1.2
@@ -7,7 +7,7 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.soap_XMLSchema.inc.php,v 1.1 2006/09/24 11:51:10 
Caeies Exp $
+       * @version $Id: class.soap_XMLSchema.inc.php,v 1.2 2006/12/28 18:03:40 
Caeies Exp $
        */
 
 /* Please see class.base_nusoap.inc.php for more information */
@@ -31,7 +31,7 @@
 * @version  $ I d : nusoap.php,v 1.95 2006/02/02 15:52:34 snichol Exp $
 * @access   public
 */
-class soap_XMLSchema extends nusoap_base  {
+class phpgwapi_soap_XMLSchema extends phpgwapi_nusoap_base  {
        
        // files
        var $schema = '';
@@ -70,8 +70,8 @@
        * @param        string $namespaces namespaces defined in enclosing XML
        * @access   public
        */
-       function soap_XMLSchema($schema='',$xml='',$namespaces=array()){
-               parent::nusoap_base();
+       function 
phpgwapi_soap_XMLSchema($schema='',$xml='',$namespaces=array()){
+               parent::phpgwapi_nusoap_base();
                $this->debug('soap_XMLSchema class instantiated, inside 
constructor');
                // files
                $this->schema = $schema;

Index: class.wsdl.inc.php
===================================================================
RCS file: /cvsroot/phpgwapi/phpgwapi/inc/class.wsdl.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- class.wsdl.inc.php  24 Sep 2006 11:51:10 -0000      1.7
+++ class.wsdl.inc.php  28 Dec 2006 18:03:40 -0000      1.8
@@ -7,7 +7,7 @@
        * @package phpgwapi
        * @subpackage communication
        * Please see original header after this one and 
class.nusoap_base.inc.php
-       * @version $Id: class.wsdl.inc.php,v 1.7 2006/09/24 11:51:10 Caeies Exp 
$
+       * @version $Id: class.wsdl.inc.php,v 1.8 2006/12/28 18:03:40 Caeies Exp 
$
        */
 
 /* Please see class.base_nusoap.inc.php for more information */
@@ -27,7 +27,7 @@
 * @version  $ I d : nusoap.php,v 1.95 2006/02/02 15:52:34 snichol Exp $
 * @access public 
 */
-class wsdl extends nusoap_base {
+class phpgwapi_wsdl extends phpgwapi_nusoap_base {
        // URL or filename of the root of this WSDL
     var $wsdl; 
     // define internal arrays of bindings, ports, operations, messages, etc.
@@ -75,8 +75,8 @@
         * @param integer $response_timeout set the response timeout
      * @access public 
      */
-    function wsdl($wsdl = 
'',$proxyhost=false,$proxyport=false,$proxyusername=false,$proxypassword=false,$timeout=0,$response_timeout=30){
-               parent::nusoap_base();
+    function phpgwapi_wsdl($wsdl = 
'',$proxyhost=false,$proxyport=false,$proxyusername=false,$proxypassword=false,$timeout=0,$response_timeout=30){
+               parent::phpgwapi_nusoap_base();
         $this->wsdl = $wsdl;
         $this->proxyhost = $proxyhost;
         $this->proxyport = $proxyport;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]