Horde_Kolab_Storage_Data::getId PHP Method

getId() public method

Return the ID of this data handler.
public getId ( ) : string
return string The ID.
    public function getId();

Usage Example

Example #1
0
 /**
  * Synchronize the provided data in case the selected synchronization
  * strategy requires it.
  *
  * @param Horde_Kolab_Storage_Data $data The data to synchronize.
  */
 public function synchronizeData(Horde_Kolab_Storage_Data $data)
 {
     $data_id = $data->getId();
     if ($this->hasNotBeenSynchronizedYet($data_id) || $this->syncTimeHasElapsed($data_id)) {
         $data->synchronize();
         $_SESSION['kolab_storage']['synchronization']['data'][$data_id] = time() + $this->_interval + rand(0, $this->_random_offset);
     }
 }
All Usage Examples Of Horde_Kolab_Storage_Data::getId