示例#1
0
 public function saveExemptionComment($GET)
 {
     $obj = new ExemptionComment();
     $obj->setExemptionSeq($GET['commentMasterSeq']);
     $obj->setUserSeq($GET['userSeq']);
     $obj->setComments($GET['newComments']);
     $EDS = ExemptionDataStore::getInstance();
     $EDS->SaveExemptionComment($obj);
     return array("RESPONSE" => "SUCCESS");
 }
 public static function populateCommentObject($row)
 {
     $obj = new ExemptionComment();
     $obj->setSeq($row['seq']);
     $obj->setExemptionSeq($row['exemptionSeq']);
     $obj->setComments($row['comments']);
     $obj->setDated($row['dated']);
     $obj->setUserSeq($row['userseq']);
     $obj->setUserName($row['username']);
     return $obj;
 }