Пример #1
0
 public function generateFileName($sub_type, $version = null)
 {
     if ($sub_type != self::FILE_SYNC_ASSET_SUB_TYPE_LIVE_PRIMARY && $sub_type != self::FILE_SYNC_ASSET_SUB_TYPE_LIVE_SECONDARY) {
         return parent::generateFileName($sub_type, $version);
     }
     return $this->getEntryId() . "_" . $this->getId() . "_{$sub_type}_{$version}";
 }