mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 01:12:17 +00:00
This commit is contained in:
@@ -30,7 +30,7 @@ class legesamtnote
|
||||
//Tabellenspalten
|
||||
var $student_uid; // varchar(16)
|
||||
var $lehreinheit_id; // int
|
||||
var $note; // smallint
|
||||
var $note; // smallint
|
||||
var $benotungsdatum; //date
|
||||
var $updateamum; // timestamp
|
||||
var $updatevon; // varchar(16)
|
||||
@@ -50,7 +50,7 @@ class legesamtnote
|
||||
function legesamtnote($conn, $student_uid=null, $lehreinheit_id=null, $unicode=false)
|
||||
{
|
||||
$this->conn = $conn;
|
||||
|
||||
/*
|
||||
if($unicode)
|
||||
$qry = "SET CLIENT_ENCODING TO 'UNICODE';";
|
||||
else
|
||||
@@ -61,7 +61,7 @@ class legesamtnote
|
||||
$this->errormsg = 'Encoding konnte nicht gesetzt werden';
|
||||
return false;
|
||||
}
|
||||
|
||||
*/
|
||||
if($student_uid != null)
|
||||
$this->load($student_uid, $lehreinheit_id);
|
||||
}
|
||||
@@ -115,7 +115,8 @@ class legesamtnote
|
||||
return false;
|
||||
}
|
||||
|
||||
$qry = "SELECT * FROM campus.tbl_legesamtnote WHERE lehreinheit_id='".$lehreinheit_id."' order by student_uid";
|
||||
$qry = "SELECT * FROM campus.tbl_legesamtnote WHERE lehreinheit_id='".$lehreinheit_id."' order by student_uid";
|
||||
|
||||
|
||||
if($result=pg_query($this->conn, $qry))
|
||||
{
|
||||
@@ -125,7 +126,7 @@ class legesamtnote
|
||||
|
||||
$legesamtnote_obj->student_uid = $row->student_uid;
|
||||
$legesamtnote_obj->note = $row->note;
|
||||
$legesamtnote_obj->note = $row->note;
|
||||
$legesamtnote_obj->lehreinheit_id = $row->lehreinheit_id;
|
||||
$legesamtnote_obj->benotungsdatum = $row->benotungsdatum;
|
||||
$legesamtnote_obj->updateamum = $row->updateamum;
|
||||
$legesamtnote_obj->updatevon = $row->updatevon;
|
||||
|
||||
Reference in New Issue
Block a user