public function __construct($xml, $postUrl) { $this->xml = $xml; $this->postUrl = $postUrl; $this->setCellLocation(); $this->content = $xml->content->__toString(); $this->inputValue = Util::extractAttributeFromXml($xml, "gs", "inputValue"); }