public function doFromObject($sourceObject, KalturaDetachedResponseProfile $responseProfile = null) { parent::doFromObject($sourceObject, $responseProfile); if ($this->shouldGet('xslTransformation', $responseProfile)) { $this->xslTransformation = $sourceObject->getXsl(); } if ($this->shouldGet('cropDimensions', $responseProfile)) { $this->cropDimensions = new KalturaCropDimensions(); $this->cropDimensions->fromObject($sourceObject); } }
public function fromObject($sourceObject) { parent::fromObject($sourceObject); $this->cropDimensions = new KalturaCropDimensions(); $this->cropDimensions->fromObject($sourceObject); }
public function fromObject($sourceObject) { parent::fromObject($sourceObject); $this->xslTransformation = $sourceObject->getXsl(); $this->cropDimensions = new KalturaCropDimensions(); $this->cropDimensions->fromObject($sourceObject); $this->isPartnerDefault = false; if ($this->partnerId) { $partner = PartnerPeer::retrieveByPK($this->partnerId); if ($partner && $this->id == $partner->getDefaultConversionProfileId()) { $this->isPartnerDefault = true; } } }