コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }