43 return "Block [timestamp=" . $this->timestamp .
44 ", contact=" . $this->contact->toString() .
45 ", oldstatus=" . $this->oldStatus .
46 ", newstatus=" . $this->newStatus .
47 ", reason=" . $this->reason .
"]";
56 return "block;" . $this->timestamp .
57 ";" . $this->contact->toCsvString() .
58 ";" . $this->oldStatus .
59 ";" . $this->newStatus .
72 $this->contact->fromXML($xmlElement->contact);
74 if (isset($xmlElement->timestamp)) $this->timestamp = $xmlElement->timestamp;
75 if (isset($xmlElement->old_status)) $this->oldStatus = $xmlElement->old_status;
76 if (isset($xmlElement->new_status)) $this->newStatus = $xmlElement->new_status;
77 if (isset($xmlElement->reason)) $this->reason = $xmlElement->reason;