Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REACH2-690: Add ability to set transcript asset associated ids on the caption asset #8742

Merged
merged 2 commits into from Sep 3, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Next

REACH2-690: Add ability to set transcript asset associated ids on the…

… caption asset
  • Loading branch information...
yossipapi committed Sep 3, 2019
commit f95e3b2d6ae9a8bfe96f3495269624348bdce51c
@@ -81,6 +81,12 @@ class KalturaCaptionAsset extends KalturaAsset
* @var bool
*/
public $displayOnPlayer;
/**
* List of associated transcript asset id's
* @var string
*/
public $associatedTranscriptIds;
private static $map_between_objects = array
(
@@ -93,6 +99,7 @@ class KalturaCaptionAsset extends KalturaAsset
"parentId",
"accuracy",
"displayOnPlayer",
"associatedTranscriptIds",
);
public function getMapBetweenObjects ( )
@@ -13,6 +13,7 @@ class CaptionAsset extends asset
const CUSTOM_DATA_PARENT_ID = "parentId";
const CUSTOM_DATA_ACCURACY = "accuracy";
const CUSTOM_DATA_DISPLAY_ON_PLAYER = "display_on_player";
const CUSTOM_DATA_ASSOCIATED_TRANSCRIPT_ASSET_IDS = "associated_transcript_ids";
const MULTI_LANGUAGE = 'Multilingual';
@@ -31,13 +32,16 @@ public function getLabel() {return $this->getFromCustomData(self::CUSTOM_D
public function getParentId() {return $this->getFromCustomData(self::CUSTOM_DATA_PARENT_ID);}
public function getAccuracy() {return $this->getFromCustomData(self::CUSTOM_DATA_ACCURACY);}
public function getDisplayOnPlayer() {return $this->getFromCustomData(self::CUSTOM_DATA_DISPLAY_ON_PLAYER, null, true);}
public function getAssociatedTranscriptIds() {return $this->getFromCustomData(self::CUSTOM_DATA_ASSOCIATED_TRANSCRIPT_ASSET_IDS);}
public function setLanguage($v) {$this->putInCustomData(self::CUSTOM_DATA_FIELD_LANGUAGE, $v);}
public function setDefault($v) {$this->putInCustomData(self::CUSTOM_DATA_FIELD_DEFAULT, (bool)$v);}
public function setLabel($v) {$this->putInCustomData(self::CUSTOM_DATA_FIELD_LABEL, $v);}
public function setParentId($v) {$this->putInCustomData(self::CUSTOM_DATA_PARENT_ID, $v);}
public function setAccuracy($v) {$this->putInCustomData(self::CUSTOM_DATA_ACCURACY, $v);}
public function setDisplayOnPlayer($v) {$this->putInCustomData(self::CUSTOM_DATA_DISPLAY_ON_PLAYER, $v);}
public function setAssociatedTranscriptIds($v) {$this->putInCustomData(self::CUSTOM_DATA_ASSOCIATED_TRANSCRIPT_ASSET_IDS, $v);}
public function getFinalDownloadUrlPathWithoutKs()
{
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.