Merge origin/ci into ci

Conflicts:
	application/core/FHC_Model.php
	application/models/Nation_model.php
	application/models/lehre/Studiengang_model.php
	application/models/lehre/Studienplan_model.php
This commit is contained in:
paolo
2016-05-04 15:34:00 +02:00
221 changed files with 3055 additions and 169 deletions
+45
View File
@@ -0,0 +1,45 @@
<?php
if(!defined('BASEPATH')) exit('No direct script access allowed');
class File extends APIv1_Controller
{
/**
* Person API constructor.
*/
public function __construct()
{
parent::__construct();
// Load model FileModel
$this->load->model('file_model', 'FileModel');
// Load set the uid of the model to let to check the permissions
$this->FileModel->setUID($this->_getUID());
}
/**
* @return void
*/
public function postFile()
{
$result = $this->FileModel->saveFile($this->post());
if($result === TRUE)
{
$httpstatus = REST_Controller::HTTP_OK;
$payload = [
'success' => true,
'message' => 'File saved.'
];
$payload['data'] = $result;
}
else
{
$payload = [
'success' => false,
'message' => 'Could not save file.'
];
$httpstatus = REST_Controller::HTTP_OK;
}
$this->response($payload, $httpstatus);
}
}
+1 -2
View File
@@ -3,7 +3,6 @@ defined('BASEPATH') OR exit('No direct script access allowed');
class FHC_Model extends CI_Model
{
//protected errormsg;
function __construct()
{
parent::__construct();
@@ -55,4 +54,4 @@ class FHC_Model extends CI_Model
$return->retval = $retval;
return $return;
}
}
}
+42
View File
@@ -0,0 +1,42 @@
<?php
class File_model extends DB_Model
{
/**
*
*/
public function __construct()
{
parent::__construct();
}
/**
*
*/
public function saveFile($file = NULL)
{
$result = FALSE;
// Checks if the operation is permitted by the API caller
// All the code should be put inside this if statement
if(isAllowed($this->getUID(), 'file'))
{
if($this->_validate($file))
{
$result = $this->_write($file);
}
}
return $result;
}
private function _validate($file = NULL)
{
return TRUE;
}
private function _write($file = NULL)
{
return TRUE;
}
}
@@ -0,0 +1,14 @@
<?php
class Aufteilung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_aufteilung';
$this->pk = 'aufteilung_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Bestelldetail_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_bestelldetail';
$this->pk = 'bestelldetail_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Bestelldetailtag_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_bestelldetailtag';
$this->pk = array('bestelldetail_id', 'tag');
}
}
@@ -0,0 +1,14 @@
<?php
class Bestellstatus_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_bestellstatus';
$this->pk = 'bestellstatus_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Bestellung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_bestellung';
$this->pk = 'bestellung_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Bestellungtag_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_bestellungtag';
$this->pk = array('bestellung_id', 'tag');
}
}
@@ -0,0 +1,14 @@
<?php
class Buchung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_buchung';
$this->pk = 'buchung_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Buchungstyp_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_buchungstyp';
$this->pk = 'buchungstyp_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Budget_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_budget';
$this->pk = array('kostenstelle_id', 'geschaeftsjahr_kurzbz');
}
}
@@ -0,0 +1,14 @@
<?php
class Konto_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_konto';
$this->pk = 'konto_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Kostenstelle_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_kostenstelle';
$this->pk = 'kostenstelle_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Rechnung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_rechnung';
$this->pk = 'rechnung_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Rechnungsbetrag_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_rechnungsbetrag';
$this->pk = 'rechnungsbetrag_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Rechnungstyp_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_rechnungstyp';
$this->pk = 'rechnungstyp_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Vertrag_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_vertrag';
$this->pk = 'vertrag_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Vertragsstatus_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_vertragsstatus';
$this->pk = 'vertragsstatus_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Vertragstyp_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_vertragstyp';
$this->pk = 'vertragstyp_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Zahlungstyp_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'wawi.tbl_zahlungstyp';
$this->pk = 'zahlungstyp_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Akadgrad_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_akadgrad';
$this->pk = 'akadgrad_id';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Archiv_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_archiv';
$this->pk = 'archiv_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Aufmerksamdurch_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_aufmerksamdurch';
$this->pk = 'aufmerksamdurch_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Ausbildung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_ausbildung';
$this->pk = 'ausbildungcode';
}
}
@@ -0,0 +1,14 @@
<?php
class Berufstaetigkeit_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_berufstaetigkeit';
$this->pk = 'berufstaetigkeit_code';
}
}
@@ -0,0 +1,14 @@
<?php
class Beschaeftigungsausmass_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_beschaeftigungsausmass';
$this->pk = 'beschausmasscode';
}
}
@@ -0,0 +1,14 @@
<?php
class Besqual_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_besqual';
$this->pk = 'besqualcode';
}
}
@@ -0,0 +1,14 @@
<?php
class Bisfunktion_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_bisfunktion';
$this->pk = array('studiengang_kz', 'bisverwendung_id');
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Bisio_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_bisio';
$this->pk = 'bisio_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Bisorgform_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_bisorgform';
$this->pk = 'bisorgform_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Bisverwendung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_bisverwendung';
$this->pk = 'bisverwendung_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Bundesland_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_bundesland';
$this->pk = 'bundesland_code';
}
}
@@ -0,0 +1,14 @@
<?php
class Entwicklungsteam_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_entwicklungsteam';
$this->pk = array('studiengang_kz', 'mitarbeiter_uid');
}
}
@@ -0,0 +1,14 @@
<?php
class Gemeinde_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_gemeinde';
$this->pk = 'gemeinde_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Hauptberuf_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_hauptberuf';
$this->pk = 'hauptberufcode';
}
}
@@ -0,0 +1,14 @@
<?php
class Lehrform_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_lehrform';
$this->pk = 'lehrform_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Lgartcode_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_lgartcode';
$this->pk = 'lgartcode';
}
}
@@ -0,0 +1,14 @@
<?php
class Mobilitaetsprogramm_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_mobilitaetsprogramm';
$this->pk = 'mobilitaetsprogramm_code';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Note_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_note';
$this->pk = 'note';
}
}
@@ -0,0 +1,14 @@
<?php
class Orgform_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_orgform';
$this->pk = 'orgform_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Verwendung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_verwendung';
$this->pk = 'verwendung_code';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Zgv_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_zgv';
$this->pk = 'zgv_code';
}
}
@@ -0,0 +1,14 @@
<?php
class Zgvdoktor_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_zgvdoktor';
$this->pk = 'zgvdoktor_code';
}
}
@@ -0,0 +1,13 @@
<?php
class Zgvgruppe_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_zgvgruppe';
$this->pk = '';
}
}
@@ -0,0 +1,14 @@
<?php
class Zgvmaster_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_zgvmaster';
$this->pk = 'zgvmas_code';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Zweck_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'bis.tbl_zweck';
$this->pk = 'zweck_code';
}
}
@@ -0,0 +1,14 @@
<?php
class Ampel_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_ampel';
$this->pk = 'ampel_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Content_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_content';
$this->pk = 'content_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Contentchild_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_contentchild';
$this->pk = 'contentchild_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Contentgruppe_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_contentgruppe';
$this->pk = array('gruppe_kurzbz', 'content_id');
}
}
@@ -0,0 +1,14 @@
<?php
class Contentlog_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_contentlog';
$this->pk = 'contentlog_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Contentsprache_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_contentsprache';
$this->pk = 'contentsprache_id';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Dms_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_dms';
$this->pk = 'dms_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Infoscreen_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_infoscreen';
$this->pk = 'infoscreen_id';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class News_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_news';
$this->pk = 'news_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Template_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_template';
$this->pk = 'template_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Veranstaltung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_veranstaltung';
$this->pk = 'veranstaltung_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Veranstaltungskategorie_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_veranstaltungskategorie';
$this->pk = 'veranstaltungskategorie_kurzbz';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Akte_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_akte';
$this->pk = 'akte_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Aufnahmeschluessel_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_aufnahmeschluessel';
$this->pk = 'aufnahmeschluessel';
}
}
@@ -0,0 +1,14 @@
<?php
class Aufnahmetermin_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_aufnahmetermin';
$this->pk = 'aufnahmetermin_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Aufnahmetermintyp_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_aufnahmetermintyp';
$this->pk = 'aufnahmetermintyp_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Bewerbungstermine_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_bewerbungstermine';
$this->pk = 'bewerbungstermin_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Buchungstyp_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_buchungstyp';
$this->pk = 'buchungstyp_kurzbz';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Dokument_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_dokument';
$this->pk = 'dokument_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Dokumentprestudent_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_dokumentprestudent';
$this->pk = array('prestudent_id', 'dokument_kurzbz');
}
}
@@ -0,0 +1,14 @@
<?php
class Dokumentstudiengang_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_dokumentstudiengang';
$this->pk = array('studiengang_kz', 'dokument_kurzbz');
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Konto_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_konto';
$this->pk = 'buchungsnr';
}
}
@@ -0,0 +1,14 @@
<?php
class Preincoming_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_preincoming';
$this->pk = 'preincoming_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Preinteressent_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_preinteressent';
$this->pk = 'preinteressent_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Preinteressentstudiengang_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_preinteressentstudiengang';
$this->pk = array('preinteressent_id', 'studiengang_kz');
}
}
@@ -0,0 +1,14 @@
<?php
class Preoutgoing_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_preoutgoing';
$this->pk = 'preoutgoing_id';
}
}
@@ -2,16 +2,14 @@
class Prestudent_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable='public.tbl_prestudent';
$this->pk='prestudent_id';
$this->dbTable = 'public.tbl_prestudent';
$this->pk = 'prestudent_id';
}
/**
@@ -0,0 +1,14 @@
<?php
class Prestudentstatus_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_prestudentstatus';
$this->pk = array('ausbildungssemester', 'studiensemester_kurzbz', 'status_kurzbz', 'prestudent_id');
}
}
@@ -0,0 +1,14 @@
<?php
class Reihungstest_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_reihungstest';
$this->pk = 'reihungstest_id';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Status_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_status';
$this->pk = 'status_kurzbz';
}
}
+14
View File
@@ -0,0 +1,14 @@
<?php
class Student_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'public.tbl_student';
$this->pk = 'student_uid';
}
}
@@ -0,0 +1,14 @@
<?php
class Abgabe_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_abgabe';
$this->pk = 'abgabe_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Abschlussbeurteilung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_abschlussbeurteilung';
$this->pk = 'abschlussbeurteilung_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Abschlusspruefung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_abschlusspruefung';
$this->pk = 'abschlusspruefung_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Anrechnung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_anrechnung';
$this->pk = 'anrechnung_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Anwesenheit_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_anwesenheit';
$this->pk = 'anwesenheit_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Beispiel_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_beispiel';
$this->pk = 'beispiel_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Betreuerart_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_betreuerart';
$this->pk = 'betreuerart_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Feedback_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_feedback';
$this->pk = 'feedback_id';
}
}
@@ -0,0 +1,14 @@
<?php
class LeNotenschluessel_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_notenschluessel';
$this->pk = array('note', 'lehreinheit_id');
}
}
@@ -0,0 +1,14 @@
<?php
class LePruefung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_pruefung';
$this->pk = 'pruefung_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Legesamtnote_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_legesamtnote';
$this->pk = array('lehreinheit_id', 'student_uid');
}
}
@@ -0,0 +1,14 @@
<?php
class Lehreinheit_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_lehreinheit';
$this->pk = 'lehreinheit_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Lehreinheitgruppe_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_lehreinheitgruppe';
$this->pk = 'lehreinheitgruppe_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Lehreinheitmitarbeiter_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_lehreinheitmitarbeiter';
$this->pk = array('mitarbeiter_uid', 'lehreinheit_id');
}
}
@@ -0,0 +1,14 @@
<?php
class Lehrfach_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_lehrfach';
$this->pk = 'lehrfach_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Lehrfunktion_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_lehrfunktion';
$this->pk = 'lehrfunktion_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Lehrtyp_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_lehrtyp';
$this->pk = 'lehrtyp_kurzbz';
}
}
@@ -0,0 +1,14 @@
<?php
class Lehrveranstaltung_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_lehrveranstaltung';
$this->pk = 'lehrveranstaltung_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Lvangebot_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'lehre.tbl_lvangebot';
$this->pk = 'lvangebot_id';
}
}
@@ -0,0 +1,14 @@
<?php
class Lvgesamtnote_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_lvgesamtnote';
$this->pk = array('student_uid', 'studiensemester_kurzbz', 'lehrveranstaltung_id');
}
}
@@ -0,0 +1,14 @@
<?php
class Lvinfo_model extends DB_Model
{
/**
* Constructor
*/
public function __construct()
{
parent::__construct();
$this->dbTable = 'campus.tbl_lvinfo';
$this->pk = array('sprache', 'lehrveranstaltung_id');
}
}

Some files were not shown because too many files have changed in this diff Show More