public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (empty($xml->values)) { $this->values = array(); } else { $this->values = \Kaltura\Client\ParseUtils::unmarshalArray($xml->values, "KalturaString"); } if (empty($xml->allowedValues)) { $this->allowedValues = array(); } else { $this->allowedValues = \Kaltura\Client\ParseUtils::unmarshalArray($xml->allowedValues, "KalturaStringValue"); } }