public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->indexIdGreaterThan)) { $this->indexIdGreaterThan = (int) $xml->indexIdGreaterThan; } }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (count($xml->metadataProfileId)) { $this->metadataProfileId = (int) $xml->metadataProfileId; } $this->orderBy = (string) $xml->orderBy; }