当前位置: 首页>>代码示例>>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;未经允许,请勿转载。