phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: addressbook/inc class.boaddressbook.inc.php,1.2


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] CVS: addressbook/inc class.boaddressbook.inc.php,1.21.2.2.2.1,1.21.2.2.2.2
Date: Wed, 21 May 2003 16:58:46 -0400

Update of /cvsroot/phpgroupware/addressbook/inc
In directory subversions:/tmp/cvs-serv10670/inc

Modified Files:
      Tag: Version-0_9_16-branch
        class.boaddressbook.inc.php 
Log Message:
Adding in new XML-RPC support


Index: class.boaddressbook.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/addressbook/inc/class.boaddressbook.inc.php,v
retrieving revision 1.21.2.2.2.1
retrieving revision 1.21.2.2.2.2
diff -C2 -r1.21.2.2.2.1 -r1.21.2.2.2.2
*** class.boaddressbook.inc.php 6 Apr 2003 15:03:05 -0000       1.21.2.2.2.1
--- class.boaddressbook.inc.php 21 May 2003 20:58:43 -0000      1.21.2.2.2.2
***************
*** 25,30 ****
                );
  
!               var $xml_functions = array();
! 
                var $soap_functions = array(
                        'read_entries' => array(
--- 25,30 ----
                );
  
!               var $xml_functions  = array();
!               var $xmlrpc_methods = array();
                var $soap_functions = array(
                        'read_entries' => array(
***************
*** 127,130 ****
--- 127,135 ----
  
                        if($this->debug) { $this->_debug_sqsof(); }
+ 
+                       $this->xmlrpc_methods[] = array(
+                               'name'        => 'read_entries',
+                               'description' => 'Get list of addressbook items'
+                       );
                }
  
***************
*** 253,257 ****
                        $this->total = $this->so->contacts->total_records;
                        if($this->debug) { echo '<br>Total records="' . 
$this->total . '"'; }
!                       return $this->strip_html($entries);
                }
  
--- 258,262 ----
                        $this->total = $this->so->contacts->total_records;
                        if($this->debug) { echo '<br>Total records="' . 
$this->total . '"'; }
!                       return (is_array($entries) ? 
$this->strip_html($entries) : array());
                }
  





reply via email to

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