當前位置: 首頁>>代碼示例>>PHP>>正文


PHP kFileSyncUtils::calcObjectNewVersion方法代碼示例

本文整理匯總了PHP中kFileSyncUtils::calcObjectNewVersion方法的典型用法代碼示例。如果您正苦於以下問題:PHP kFileSyncUtils::calcObjectNewVersion方法的具體用法?PHP kFileSyncUtils::calcObjectNewVersion怎麽用?PHP kFileSyncUtils::calcObjectNewVersion使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在kFileSyncUtils的用法示例。


在下文中一共展示了kFileSyncUtils::calcObjectNewVersion方法的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: incLiveSegmentVersion

 public function incLiveSegmentVersion($index)
 {
     $subType = self::FILE_SYNC_ASSET_SUB_TYPE_LIVE_PRIMARY;
     if ($index == MediaServerIndex::SECONDARY) {
         $subType = self::FILE_SYNC_ASSET_SUB_TYPE_LIVE_SECONDARY;
     }
     $newVersion = kFileSyncUtils::calcObjectNewVersion($this->getId(), $this->getLiveSegmentVersion($index), FileSyncObjectType::ASSET, $subType);
     $this->putInCustomData("liveSegmentVersion-{$index}", $newVersion);
 }
開發者ID:DBezemer,項目名稱:server,代碼行數:9,代碼來源:liveAsset.php

示例2: incrementIsmVersion

 public function incrementIsmVersion()
 {
     $newVersion = kFileSyncUtils::calcObjectNewVersion($this->getId(), $this->getIsmVersion(), FileSyncObjectType::ENTRY, self::FILE_SYNC_ENTRY_SUB_TYPE_ISM);
     $this->setIsmVersion($newVersion);
     return $newVersion;
 }
開發者ID:AdiTal,項目名稱:server,代碼行數:6,代碼來源:entry.php

示例3: incrementVersion

 public function incrementVersion($subType = self::FILE_SYNC_UICONF_SUB_TYPE_CONFIG)
 {
     $version = $this->getVersion($subType);
     $newVersion = kFileSyncUtils::calcObjectNewVersion($this->getId(), $version, FileSyncObjectType::UICONF, $subType);
     if ($subType == self::FILE_SYNC_UICONF_SUB_TYPE_CONFIG) {
         if (!$this->getConfFileVersion() && $this->getConfFileBySuffix()) {
             $this->setConfFileVersion($version);
         }
         if (!$this->getConfFileFeaturesVersion() && $this->getConfFileBySuffix(self::FILE_NAME_FEATURES)) {
             $this->setConfFileFeaturesVersion($version);
         }
     }
     $this->setVersion($newVersion, $subType);
 }
開發者ID:DBezemer,項目名稱:server,代碼行數:14,代碼來源:uiConf.php

示例4: incLogFileVersion

 public function incLogFileVersion()
 {
     $newVersion = kFileSyncUtils::calcObjectNewVersion($this->getId(), $this->getLogFileVersion(), FileSyncObjectType::ASSET, asset::FILE_SYNC_ASSET_SUB_TYPE_CONVERT_LOG);
     $this->putInCustomData("logFileVersion", $newVersion);
 }
開發者ID:DBezemer,項目名稱:server,代碼行數:5,代碼來源:asset.php

示例5: incrementVersion

 public function incrementVersion()
 {
     $newVersion = kFileSyncUtils::calcObjectNewVersion($this->getId(), $this->getVersion(), FileSyncObjectType::FILE_ASSET, self::FILE_SYNC_ASSET);
     $this->setVersion($newVersion);
 }
開發者ID:DBezemer,項目名稱:server,代碼行數:5,代碼來源:FileAsset.php

示例6: incrementXsltVersion

 public function incrementXsltVersion()
 {
     $newVersion = kFileSyncUtils::calcObjectNewVersion($this->getId(), $this->getXsltVersion(), FileSyncObjectType::METADATA_PROFILE, self::FILE_SYNC_METADATA_XSLT);
     $this->setXsltVersion($newVersion);
 }
開發者ID:AdiTal,項目名稱:server,代碼行數:5,代碼來源:MetadataProfile.php

示例7: incrementVersion

 public function incrementVersion()
 {
     $newVersion = kFileSyncUtils::calcObjectNewVersion($this->getId(), $this->getVersion(), FileSyncObjectType::SYNDICATION_FEED, self::FILE_SYNC_SYNDICATION_FEED_XSLT);
     $this->setVersion($newVersion);
 }
開發者ID:kubrickfr,項目名稱:server,代碼行數:5,代碼來源:genericSyndicationFeed.php

示例8: incrementXslVersion

 public function incrementXslVersion()
 {
     $newVersion = kFileSyncUtils::calcObjectNewVersion($this->getId(), $this->getVersion(), FileSyncObjectType::CONVERSION_PROFILE, self::FILE_SYNC_MRSS_XSL);
     $this->putInCustomData("xslVersion", $newVersion);
 }
開發者ID:DBezemer,項目名稱:server,代碼行數:5,代碼來源:conversionProfile2.php


注:本文中的kFileSyncUtils::calcObjectNewVersion方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。