public function copyFromLiveToVodEntry($vodEntry, $adjustedStartTime) { // Clone the cue point to the destination entry $vodThumbCuePoint = parent::copyToEntry($vodEntry); $this->copyAssets($vodEntry, $vodThumbCuePoint, $adjustedStartTime); return $vodThumbCuePoint; }
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; }