phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] sync/inc/class.so_sync.inc.php, 1.39


From: nomail
Subject: [Phpgroupware-cvs] sync/inc/class.so_sync.inc.php, 1.39
Date: Sun, 23 May 2004 12:57:55 -0000

Update of /sync/inc
Modified Files:
        Branch: 
          class.so_sync.inc.php

date: 2004/05/04 18:36:07;  author: mkaemmerer;  state: Exp;  lines: +20 -1

Log Message:
- added function GetAllLUIDs
=====================================================================
Index: sync/inc/class.so_sync.inc.php
diff -u sync/inc/class.so_sync.inc.php:1.38 sync/inc/class.so_sync.inc.php:1.39
--- sync/inc/class.so_sync.inc.php:1.38 Mon May  3 15:03:12 2004
+++ sync/inc/class.so_sync.inc.php      Tue May  4 18:36:07 2004
@@ -693,6 +693,25 @@
     }
 
    /**
+    * Get all LUIDs, use ChannelID as reference
+    *
+    * @param integer $channelid unique sync channel for a specific device and 
source 
+    * @return array of LUIDs  
+    */
+    
+    function GetAllLUIDs($channelid)
+    {
+      $GLOBALS['phpgw']->db->query("SELECT LUID FROM phpgw_syncmapping WHERE 
channelid='" .
+                          $channelid . "'",__LINE__,__FILE__);
+      $result = array();
+      while ($GLOBALS['phpgw']->db->next_record()) 
+      {
+        array_push($result, $GLOBALS['phpgw']->db->f('LUID'));
+      }
+      return $result;
+    } 
+ 
+   /**
     * Delete mapping referenced by mappingid
     *
     * @param integer mappingid (index of phpgw_syncmapping)




reply via email to

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