示例#1
0
 public function copyFromLiveToVodEntry($vodEntry, $adjustedStartTime)
 {
     // Clone the cue point to the destination entry
     $vodThumbCuePoint = parent::copyToEntry($vodEntry);
     $this->copyAssets($vodEntry, $vodThumbCuePoint, $adjustedStartTime);
     return $vodThumbCuePoint;
 }
示例#2
0
 public function copyToEntry($entry, PropelPDO $con = null)
 {
     $annotation = parent::copyToEntry($entry);
     if ($annotation->getParentId()) {
         $mappedId = kObjectCopyHandler::getMappedId('Annotation', $annotation->getParentId());
         if ($mappedId) {
             $annotation->setParentId($mappedId);
         }
     }
     $annotation->save();
     return $annotation;
 }