mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 01:12:17 +00:00
Merge branch 'master' of https://github.com/FH-Complete/FHC-Core
This commit is contained in:
@@ -543,7 +543,7 @@ class statistik extends basis_db
|
||||
$anzahl_spalten = $this->db_num_fields($this->data);
|
||||
for($spalte=0;$spalte<$anzahl_spalten;$spalte++)
|
||||
{
|
||||
$this->html.= '<th>'.$this->db_field_name($this->data,$spalte).'</th>';
|
||||
$this->html.= '<th>'.$this->convert_html_chars($this->db_field_name($this->data,$spalte)).'</th>';
|
||||
$this->csv.='"'.$this->db_field_name($this->data,$spalte).'",';
|
||||
}
|
||||
$this->html.= '</tr></thead><tbody>';
|
||||
@@ -556,7 +556,7 @@ class statistik extends basis_db
|
||||
for($spalte=0;$spalte<$anzahl_spalten;$spalte++)
|
||||
{
|
||||
$name = $this->db_field_name($this->data,$spalte);
|
||||
$this->html.= '<td>'.$row->$name.'</td>';
|
||||
$this->html.= '<td>'.$this->convert_html_chars($row->$name).'</td>';
|
||||
$this->csv.= '"'.$row->$name.'",';
|
||||
}
|
||||
|
||||
|
||||
@@ -230,6 +230,31 @@ class studiengang extends basis_db
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gibt alle Studiengaenge zurueck, fuer die man sich online bewerben kann
|
||||
* @return boolean
|
||||
*/
|
||||
public function getAllForBewerbung()
|
||||
{
|
||||
$qry = 'SELECT DISTINCT studiengang_kz, typ, organisationseinheittyp_kurzbz, studiengangbezeichnung '
|
||||
. 'FROM lehre.vw_studienplan '
|
||||
. 'WHERE onlinebewerbung IS TRUE '
|
||||
. 'ORDER BY studiengangbezeichnung ASC';
|
||||
|
||||
if(!$result = $this->db_query($qry))
|
||||
{
|
||||
$this->errormsg = 'Datensatz konnte nicht geladen werden';
|
||||
return false;
|
||||
}
|
||||
|
||||
while($row = $this->db_fetch_object($result))
|
||||
{
|
||||
$this->result[] = $row;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Laedt alle Studientypen in das Attribut studiengang_typ_array
|
||||
|
||||
Reference in New Issue
Block a user