Example #1
0
 public function doFromObject($dbDataEntry, KalturaDetachedResponseProfile $responseProfile = null)
 {
     parent::doFromObject($dbDataEntry, $responseProfile);
     //$retrieveDataContentByGet = $dbDataEntry->getFromCustomData('retrieveDataContentByGet');
     $retrieveDataContentByGet = $dbDataEntry->getRetrieveDataContentByGet();
     if ($this->shouldGet('retrieveDataContentByGet', $responseProfile)) {
         $this->retrieveDataContentByGet = $retrieveDataContentByGet;
     }
     if ($retrieveDataContentByGet != true && $this->shouldGet('dataContent', $responseProfile)) {
         $this->dataContent = '';
     }
 }
Example #2
0
 public function doFromObject($sourceObject, KalturaDetachedResponseProfile $responseProfile = null)
 {
     if (!$sourceObject) {
         return;
     }
     parent::doFromObject($sourceObject, $responseProfile);
     if ($this->shouldGet('executeUrl', $responseProfile)) {
         $this->executeUrl = myPlaylistUtils::toPlaylistUrl($sourceObject, requestUtils::getHost());
     }
     if ($this->shouldGet('filters', $responseProfile) && $this->playlistType == KalturaPlaylistType::DYNAMIC) {
         $this->playlistContentXmlToFilters();
     }
 }