phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api/interface class.interface_xmlrpc.php, 1.1.2.2, 1


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] api/interface class.interface_xmlrpc.php, 1.1.2.2, 1.1.2.3
Date: Sat, 01 Nov 2003 19:01:03 +0000

Update of /cvsroot/phpgroupware/api/interface
In directory subversions:/tmp/cvs-serv28561/api/interface

Modified Files:
      Tag: proposal-branch
        class.interface_xmlrpc.php 
Log Message:
moved loading of docs into the main class so that it will be avaible to 
anything that wants to use it

Index: class.interface_xmlrpc.php
===================================================================
RCS file: /cvsroot/phpgroupware/api/interface/Attic/class.interface_xmlrpc.php,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** class.interface_xmlrpc.php  1 Nov 2003 17:36:26 -0000       1.1.2.2
--- class.interface_xmlrpc.php  1 Nov 2003 19:01:01 -0000       1.1.2.3
***************
*** 558,589 ****
                function get_method_list($api_data)
                {
!                       if(isset($api_data['API'][0]['apps']['apps_item']))
!                       {
!                               $applist = 
$api_data['API'][0]['apps']['apps_item'];
!                       }
!                       else
!                       {
!                               $applist = $api_data['API']['apps'][0];
!                       }
!                       $applist[] = array('name'=>'api');
!                       foreach($applist as $key=>$val)
!                       {       
!                               $appname = $val['name'];
!                               if (is_dir(PHPGW_ROOT.SEP.$val['name']))
!                               {
!                                       if ($dh = 
opendir(PHPGW_ROOT.SEP.$appname))
!                                       {
!                                               while (($file = readdir($dh)) 
!== false)
!                                               {
!                                                       if(substr($file, 0, 6) 
== 'class.')
!                                                       {
!                                                               $classname = 
substr($file, 6, strlen($file)-10);
!                                                               
include_once(PHPGW_ROOT.SEP.$appname.SEP.$file);
!                                                       }
!                       }
!                                               closedir($dh);
!                                       }
!                               }
!                       }
                        foreach($GLOBALS['docs']['classes'] as 
$class=>$class_data)
                        {
--- 558,562 ----
                function get_method_list($api_data)
                {
!                       $GLOBALS['phpgw']->load_docs();
                        foreach($GLOBALS['docs']['classes'] as 
$class=>$class_data)
                        {





reply via email to

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