Beispiel #1
0
 public function createObjectFromData($row)
 {
     $document = new Document_Model();
     $document->setId($row->id);
     $document->setSubject($row->subject);
     $document->setDescription($row->description);
     $document->setFrom($row->from);
     $document->setAttachment($row->attachment);
     $document->setStatus($row->status);
     $document->setReferenceNumber($row->referenceNumber);
     $document->setDueDate($row->dueDate);
     $document->setDeadline($row->deadline);
     $document->setDue15Days($row->due15Days);
     $document->setDateReceived($row->dateReceived);
     $document->setAction($row->action);
     return $document;
 }