code: function fromXML($xmlElement)
      {
          $this->contact = new ReportContact();
          $this->contact->fromXML($xmlElement->contact);
  
          if (isset($xmlElement->mailing_id)) $this->mailingId = $xmlElement->mailing_id;
          if (isset($xmlElement->timestamp)) $this->timestamp = $xmlElement->timestamp;
          if (isset($xmlElement->link_id)) $this->linkId = $xmlElement->link_id;
          if (isset($xmlElement->link_url)) $this->linkUrl = $xmlElement->link_url;
  
          if (isset($xmlElement->link_tags)) {
              $this->linkTags = array();
              foreach ($xmlElement->link_tags->children() as $field) {
                  array_push($this->linkTags, $field[0]);
              }
          }
      }
docs: Initializes this click from an XML representation.
  
  @param SimpleXMLElement $xmlElement
  the XML representation to use