public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->conditionName = (string) $xml->conditionName; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->flavorParamsId = (string) $xml->flavorParamsId; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (!empty($xml->dimensions)) { $this->dimensions = \Kaltura\Client\ParseUtils::unmarshalObject($xml->dimensions, "KalturaDistributionThumbDimensions"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->fieldName = (string) $xml->fieldName; if (count($xml->validationErrorType)) { $this->validationErrorType = (int) $xml->validationErrorType; } $this->validationErrorParam = (string) $xml->validationErrorParam; }