public function doFromObject($source_object, KalturaDetachedResponseProfile $responseProfile = null) { parent::doFromObject($source_object, $responseProfile); if ($this->shouldGet('xslt', $responseProfile)) { $key = $source_object->getSyncKey(genericSyndicationFeed::FILE_SYNC_SYNDICATION_FEED_XSLT); $this->xslt = kFileSyncUtils::file_get_contents($key, true, false); } if ($this->shouldGet('itemXpathsToExtend', $responseProfile)) { $mrssParams = $source_object->getMrssParameters(); $this->itemXpathsToExtend = new KalturaExtendingItemMrssParameterArray(); if ($mrssParams && $mrssParams->getItemXpathsToExtend()) { $this->itemXpathsToExtend = KalturaExtendingItemMrssParameterArray::fromDbArray($mrssParams->getItemXpathsToExtend()); } } }