public function toUpdatableObject($object_to_fill, $props_to_skip = array()) { if (!$object_to_fill) { $object_to_fill = new entry(); } $object_to_fill->setType(entryType::PLAYLIST); parent::toUpdatableObject($object_to_fill); $object_to_fill->setType(entryType::PLAYLIST); // $object_to_fill->setDataContent( $this->playlistContent ); return $object_to_fill; }
public function toUpdatableObject($object_to_fill, $props_to_skip = array()) { // support filters array only if atleast one filters was specified if ($this->playlistType == KalturaPlaylistType::DYNAMIC && $this->filters && $this->filters->count > 0) { $this->filtersToPlaylistContentXml(); } $object_to_fill = new entry(); $object_to_fill->setType(entryType::PLAYLIST); parent::toUpdatableObject($object_to_fill); $object_to_fill->setType(entryType::PLAYLIST); $object_to_fill->setDataContent($this->playlistContent); return $object_to_fill; }