public function toObject($object_to_fill = null, $props_to_skip = array()) { if (!$object_to_fill) { $object_to_fill = new AdvancedSearchFilterOperator(); } $object_to_fill = parent::toObject($object_to_fill, $props_to_skip); if ($this->items) { $object_to_fill->setItems($this->items->toObjectsArray()); } return $object_to_fill; }
public function toObject($object_to_fill = null, $props_to_skip = array()) { // KalturaLog::debug("To object: type [$this->type] items [" . count($this->items) . "]"); if (!$object_to_fill) { $object_to_fill = new AdvancedSearchFilterOperator(); } $object_to_fill = parent::toObject($object_to_fill, $props_to_skip); if ($this->items) { $object_to_fill->setItems($this->items->toObjectsArray()); } return $object_to_fill; }