/** * Get the mixes in which the media entry is included * * @action getMixesByMediaId * @param string $mediaEntryId * @return KalturaMixEntryArray */ public function getMixesByMediaIdAction($mediaEntryId) { $dbMediaEntry = entryPeer::retrieveByPK($mediaEntryId); if (!$dbMediaEntry || $dbMediaEntry->getType() != KalturaEntryType::MEDIA_CLIP) { throw new KalturaAPIException(KalturaErrors::ENTRY_ID_NOT_FOUND, $mediaEntryId); } $list = roughcutEntry::getAllRoughcuts($mediaEntryId); $newList = KalturaMixEntryArray::fromEntryArray($list); return $newList; }