39 $this->filename = $filename;
40 $this->sizekb = $sizekb;
41 $this->mime_type = $mime_type;
42 $this->diagnosis = $diagnosis;
43 $this->created = $created;
44 $this->updated = $updated;
55 if (isset($xmlElement->id)) { $this->
id = (int)$xmlElement->id; }
56 if (isset($xmlElement->filename)) { $this->filename = (string)$xmlElement->filename; }
57 if (isset($xmlElement->sizekb)) { $this->sizekb = (int)$xmlElement->sizekb; }
58 if (isset($xmlElement->mime_type)) { $this->mime_type = (string)$xmlElement->mime_type; }
59 if (isset($xmlElement->diagnosis)) { $this->diagnosis = (string)$xmlElement->diagnosis; }
60 if (isset($xmlElement->created)) { $this->created = (string)$xmlElement->created; }
61 if (isset($xmlElement->updated)) { $this->updated = (string)$xmlElement->updated; }
92 return "Attachment [id=" . $this->
id .
", "
93 .
"filename=" . $this->filename .
", "
94 .
"sizekb=" . $this->sizekb .
", "
95 .
"mime_type=" . $this->mime_type .
", "
96 .
"diagnosis=" . $this->diagnosis .
", "
97 .
"created=" . $this->created .
", "
98 .
"updated=" . $this->updated .
"]";
__construct($id=null, $filename=null, $sizekb=null, $mime_type=null, $diagnosis=null, $created=null, $updated=null)