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->readonly)) { $this->readonly = true; } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->widevineDistributionStartDate)) { $this->widevineDistributionStartDate = (int) $xml->widevineDistributionStartDate; } if (count($xml->widevineDistributionEndDate)) { $this->widevineDistributionEndDate = (int) $xml->widevineDistributionEndDate; } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->flashVersion)) { $this->flashVersion = (int) $xml->flashVersion; } if (!empty($xml->poly2Bitmap)) { $this->poly2Bitmap = true; } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->densityWidth)) { $this->densityWidth = (int) $xml->densityWidth; } if (count($xml->densityHeight)) { $this->densityHeight = (int) $xml->densityHeight; } if (count($xml->sizeWidth)) { $this->sizeWidth = (int) $xml->sizeWidth; } if (count($xml->sizeHeight)) { $this->sizeHeight = (int) $xml->sizeHeight; } if (count($xml->depth)) { $this->depth = (int) $xml->depth; } }