public function toObject($object = null, $skip = array())
 {
     if (is_null($object)) {
         $object = new AvnDistributionProfile();
     }
     return parent::toObject($object, $skip);
 }
 public function toObject($object = null, $skip = array())
 {
     /* @var $object SynacorHboDistributionProfile */
     if (is_null($object)) {
         $object = new SynacorHboDistributionProfile();
     }
     $object = parent::toObject($object, $skip);
     return $object;
 }
 public function toObject($object = null, $skip = array())
 {
     /* @var $object UverseClickToOrderDistributionProfile */
     if (is_null($object)) {
         $object = new UverseClickToOrderDistributionProfile();
     }
     $object = parent::toObject($object, $skip);
     return $object;
 }
 public function toObject($object = null, $skip = array())
 {
     /* @var $object ComcastMrssDistributionProfile */
     if (is_null($object)) {
         $object = new ComcastMrssDistributionProfile();
     }
     $object = parent::toObject($object, $skip);
     $array = array();
     if ($this->cPlatformTvSeries instanceof KalturaKeyValueArray) {
         foreach ($this->cPlatformTvSeries as $keyVal) {
             /* @var $keyVal KalturaKeyValue */
             $array[$keyVal->key] = $keyVal->value;
         }
     }
     $object->setcPlatformTvSeries($array);
     return $object;
 }
 public function toObject($dbObject = null, $skip = array())
 {
     if (is_null($dbObject)) {
         return null;
     }
     parent::toObject($dbObject, $skip);
     if (!is_null($this->seriesAdditionalCategories)) {
         $seriesAdditionalCategoriesArray = array();
         foreach ($this->seriesAdditionalCategories as $stringObj) {
             $seriesAdditionalCategoriesArray[] = $stringObj->value;
         }
         $dbObject->setSeriesAdditionalCategories($seriesAdditionalCategoriesArray);
     }
     return $dbObject;
 }
 public function toObject($dbObject = null, $skip = array())
 {
     if (is_null($dbObject)) {
         return null;
     }
     parent::toObject($dbObject, $skip);
     return $dbObject;
 }
 public function toObject($object_to_fill = null, $props_to_skip = array())
 {
     if (is_null($object_to_fill)) {
         $object_to_fill = new CrossKalturaDistributionProfile();
     }
     /* @var $object_to_fill CrossKalturaDistributionProfile */
     $object_to_fill = parent::toObject($object_to_fill, $props_to_skip);
     if (!is_null($this->mapAccessControlProfileIds)) {
         $object_to_fill->setMapAccessControlProfileIds($this->toKeyValueArray($this->mapAccessControlProfileIds));
     }
     if (!is_null($this->mapConversionProfileIds)) {
         $object_to_fill->setMapConversionProfileIds($this->toKeyValueArray($this->mapConversionProfileIds));
     }
     if (!is_null($this->mapMetadataProfileIds)) {
         $object_to_fill->setMapMetadataProfileIds($this->toKeyValueArray($this->mapMetadataProfileIds));
     }
     if (!is_null($this->mapStorageProfileIds)) {
         $object_to_fill->setMapStorageProfileIds($this->toKeyValueArray($this->mapStorageProfileIds));
     }
     if (!is_null($this->mapFlavorParamsIds)) {
         $object_to_fill->setMapFlavorParamsIds($this->toKeyValueArray($this->mapFlavorParamsIds));
     }
     if (!is_null($this->mapThumbParamsIds)) {
         $object_to_fill->setMapThumbParamsIds($this->toKeyValueArray($this->mapThumbParamsIds));
     }
     if (!is_null($this->mapCaptionParamsIds)) {
         $object_to_fill->setMapCaptionParamsIds($this->toKeyValueArray($this->mapCaptionParamsIds));
     }
     return $object_to_fill;
 }