This commit is contained in:
Gerald Simane
2009-06-08 06:37:57 +00:00
parent 158402455f
commit 725e178014
660 changed files with 170054 additions and 169940 deletions
+6 -5
View File
@@ -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;