Пример #1
0
 public static function factory(Storage $storage, $row)
 {
     $mailtemplate = new MailTemplate($storage);
     $mailtemplate->setTemplateID($row["templateid"]);
     $mailtemplate->setGliederungID($row["gliederungid"]);
     $mailtemplate->setLabel($row["label"]);
     $mailtemplate->setBody($row["body"]);
     return $mailtemplate;
 }