public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->data = (string) $xml->data; }
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; } if (!empty($xml->dimensions)) { $this->dimensions = Kaltura_Client_Client::unmarshalItem($xml->dimensions); } }
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; }