Exemplo n.º 1
0
 public function toObject($object_to_fill = null, $props_to_skip = array())
 {
     if (is_null($object_to_fill)) {
         $object_to_fill = new kClipAttributes();
     }
     return parent::toObject($object_to_fill, $props_to_skip);
 }
Exemplo n.º 2
0
 public function toObject($object_to_fill = null, $props_to_skip = array())
 {
     throw new KalturaAPIException(KalturaErrors::RESOURCE_TYPE_NOT_SUPPORTED, get_class($this));
     if (is_null($object_to_fill)) {
         $object_to_fill = new kConcatAttributes();
     }
     $resource = $this->resource->toObject();
     if ($resource instanceof kLocalFileResource) {
         $object_to_fill->setFilePath($resource->getLocalFilePath());
     }
     return parent::toObject($object_to_fill, $props_to_skip);
 }