[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/phpgwapi/inc/horde/Horde/SyncML/Sync/ -> RefreshFromClientSync.php (source)

   1  <?php
   2  
   3  include_once 'Horde/SyncML/Sync.php';
   4  
   5  /**
   6   * $Horde: framework/SyncML/SyncML/Sync/RefreshFromClientSync.php,v 1.8 2004/09/14 04:27:06 chuck Exp $
   7   *
   8   * Copyright 2003-2004 Anthony Mills <amills@pyramid6.com>
   9   *
  10   * See the enclosed file COPYING for license information (LGPL). If you
  11   * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
  12   *
  13   * @author  Anthony Mills <amills@pyramid6.com>
  14   * @version $Revision: 18844 $
  15   * @since   Horde 3.0
  16   * @package Horde_SyncML
  17   */
  18  class Horde_SyncML_Sync_RefreshFromClientSync extends Horde_SyncML_Sync {
  19  
  20      /**
  21       * We need to erase the current server contents, then we can add
  22       * the client's contents.
  23       */
  24      function startSync($currentCmdID, &$output)
  25      {
  26          $deletes = $registry->call($this->targetLocURI, '/list', array());
  27          foreach ($delete as $deletes) {
  28              $registry->call($this->targetLocURI . '/delete', array($delete));
  29          }
  30  
  31          return $currentCmdID;
  32      }
  33  
  34  }


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7