Exemplo n.º 1
0
 public function StudSave($d)
 {
     $d->gid = intval($d->gid);
     $d->sid = intval($d->sid);
     $d->datebirth = intval($d->datebirth);
     $utmf = Abricos::TextParser(true);
     $utm = Abricos::TextParser();
     $d->numbook = $utmf->Parser($d->numbook);
     $d->fio = $utmf->Parser($d->fio);
     $d->preveducation = $utmf->Parser($d->preveducation);
     if ($d->sid !== 0) {
         RecordBookQuery::StudEdit(Abricos::$db, $d);
     } else {
         RecordBookQuery::StudAppend(Abricos::$db, $d);
     }
 }