public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->fieldValues = (string) $xml->fieldValues; }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->xml = (string) $xml->xml; $this->resultParseData = (string) $xml->resultParseData; if (count($xml->resultParserType)) { $this->resultParserType = (int) $xml->resultParserType; } }