Exemplo n.º 1
0
 /**
  * export ISM, ISMC and Data files on the entry
  * 
  * @param entry $entry
  * @param StorageProfile $profile
  */
 protected static function exportAdditionalEntryFiles(entry $entry, StorageProfile $profile)
 {
     $additionalFileSyncKeys = array(entry::FILE_SYNC_ENTRY_SUB_TYPE_DATA, entry::FILE_SYNC_ENTRY_SUB_TYPE_ISM, entry::FILE_SYNC_ENTRY_SUB_TYPE_ISMC);
     foreach ($additionalFileSyncKeys as $subType) {
         $key = $entry->getSyncKey($subType);
         if ($profile->isValidFileSync($key)) {
             self::export($entry, $profile, $key);
         }
     }
 }