- Added permission basis/phrase to dump.sql

- The function getAuthUID() present in the helper fhcauth_helper.php
now tries to work always with CI session to get the uid
- REST_controller doesn't need anymore to handle the uid
- FHC_Controller and FHC_Model load fhcauth_helper in their constructor,
so any class that extends them now could call the function getAuthUID()
anywhere in the code
- The controllers don't need anymore to pass the uid to the models or to the
libraries
- Library FHC_DB_ACL load fhcauth_helper in its constructor and uses getAuthID()
This commit is contained in:
paolo
2016-06-24 13:22:27 +02:00
parent 58a6da42ae
commit 9a4f5480c4
231 changed files with 412 additions and 636 deletions
-1
View File
@@ -24,7 +24,6 @@ class ModelTest extends FHC_Controller
{
//$this->session->uid='admin'; // Should normaly be set through auth
$this->load->model('person/Person_model');
$this->Person_model->setUID('admin'); // Should normaly be set through auth
$res = $this->Person_model->getPerson(null, 'asdf\' OR person_id=1; SELECT 1; --');
var_dump($res->result_object());
@@ -24,8 +24,6 @@ class Aufteilung extends APIv1_Controller
parent::__construct();
// Load model AufteilungModel
$this->load->model('accounting/aufteilung_model', 'AufteilungModel');
// Load set the uid of the model to let to check the permissions
$this->AufteilungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Bestelldetail extends APIv1_Controller
parent::__construct();
// Load model BestelldetailModel
$this->load->model('accounting/bestelldetail_model', 'BestelldetailModel');
// Load set the uid of the model to let to check the permissions
$this->BestelldetailModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Bestelldetailtag extends APIv1_Controller
parent::__construct();
// Load model BestelldetailtagModel
$this->load->model('accounting/bestelldetailtag_model', 'BestelldetailtagModel');
// Load set the uid of the model to let to check the permissions
$this->BestelldetailtagModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Bestellstatus extends APIv1_Controller
parent::__construct();
// Load model BestellstatusModel
$this->load->model('accounting/bestellstatus_model', 'BestellstatusModel');
// Load set the uid of the model to let to check the permissions
$this->BestellstatusModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Bestellung extends APIv1_Controller
parent::__construct();
// Load model BestellungModel
$this->load->model('accounting/bestellung_model', 'BestellungModel');
// Load set the uid of the model to let to check the permissions
$this->BestellungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Bestellungtag extends APIv1_Controller
parent::__construct();
// Load model BestellungtagModel
$this->load->model('accounting/bestellungtag_model', 'BestellungtagModel');
// Load set the uid of the model to let to check the permissions
$this->BestellungtagModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Buchung extends APIv1_Controller
parent::__construct();
// Load model BuchungModel
$this->load->model('accounting/buchung_model', 'BuchungModel');
// Load set the uid of the model to let to check the permissions
$this->BuchungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Buchungstyp extends APIv1_Controller
parent::__construct();
// Load model BuchungstypModel
$this->load->model('accounting/buchungstyp_model', 'BuchungstypModel');
// Load set the uid of the model to let to check the permissions
$this->BuchungstypModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Budget extends APIv1_Controller
parent::__construct();
// Load model BudgetModel
$this->load->model('accounting/budget_model', 'BudgetModel');
// Load set the uid of the model to let to check the permissions
$this->BudgetModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Konto extends APIv1_Controller
parent::__construct();
// Load model KontoModel
$this->load->model('accounting/konto_model', 'KontoModel');
// Load set the uid of the model to let to check the permissions
$this->KontoModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Kostenstelle extends APIv1_Controller
parent::__construct();
// Load model KostenstelleModel
$this->load->model('accounting/kostenstelle_model', 'KostenstelleModel');
// Load set the uid of the model to let to check the permissions
$this->KostenstelleModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Rechnung extends APIv1_Controller
parent::__construct();
// Load model RechnungModel
$this->load->model('accounting/rechnung_model', 'RechnungModel');
// Load set the uid of the model to let to check the permissions
$this->RechnungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Rechnungsbetrag extends APIv1_Controller
parent::__construct();
// Load model RechnungsbetragModel
$this->load->model('accounting/rechnungsbetrag_model', 'RechnungsbetragModel');
// Load set the uid of the model to let to check the permissions
$this->RechnungsbetragModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Rechnungstyp extends APIv1_Controller
parent::__construct();
// Load model RechnungstypModel
$this->load->model('accounting/rechnungstyp_model', 'RechnungstypModel');
// Load set the uid of the model to let to check the permissions
$this->RechnungstypModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Vertrag extends APIv1_Controller
parent::__construct();
// Load model VertragModel
$this->load->model('accounting/vertrag_model', 'VertragModel');
// Load set the uid of the model to let to check the permissions
$this->VertragModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Vertragsstatus extends APIv1_Controller
parent::__construct();
// Load model VertragsstatusModel
$this->load->model('accounting/vertragsstatus_model', 'VertragsstatusModel');
// Load set the uid of the model to let to check the permissions
$this->VertragsstatusModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Vertragstyp extends APIv1_Controller
parent::__construct();
// Load model VertragstypModel
$this->load->model('accounting/vertragstyp_model', 'VertragstypModel');
// Load set the uid of the model to let to check the permissions
$this->VertragstypModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Zahlungstyp extends APIv1_Controller
parent::__construct();
// Load model ZahlungstypModel
$this->load->model('accounting/zahlungstyp_model', 'ZahlungstypModel');
// Load set the uid of the model to let to check the permissions
$this->ZahlungstypModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Akadgrad extends APIv1_Controller
parent::__construct();
// Load model AkadgradModel
$this->load->model('codex/akadgrad_model', 'AkadgradModel');
// Load set the uid of the model to let to check the permissions
$this->AkadgradModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Archiv extends APIv1_Controller
parent::__construct();
// Load model ArchivModel
$this->load->model('codex/archiv_model', 'ArchivModel');
// Load set the uid of the model to let to check the permissions
$this->ArchivModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Aufmerksamdurch extends APIv1_Controller
parent::__construct();
// Load model AufmerksamdurchModel
$this->load->model('codex/aufmerksamdurch_model', 'AufmerksamdurchModel');
// Load set the uid of the model to let to check the permissions
$this->AufmerksamdurchModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Ausbildung extends APIv1_Controller
parent::__construct();
// Load model AusbildungModel
$this->load->model('codex/ausbildung_model', 'AusbildungModel');
// Load set the uid of the model to let to check the permissions
$this->AusbildungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Berufstaetigkeit extends APIv1_Controller
parent::__construct();
// Load model BerufstaetigkeitModel
$this->load->model('codex/berufstaetigkeit_model', 'BerufstaetigkeitModel');
// Load set the uid of the model to let to check the permissions
$this->BerufstaetigkeitModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Beschaeftigungsausmass extends APIv1_Controller
parent::__construct();
// Load model BeschaeftigungsausmassModel
$this->load->model('codex/beschaeftigungsausmass_model', 'BeschaeftigungsausmassModel');
// Load set the uid of the model to let to check the permissions
$this->BeschaeftigungsausmassModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Besqual extends APIv1_Controller
parent::__construct();
// Load model BesqualModel
$this->load->model('codex/besqual_model', 'BesqualModel');
// Load set the uid of the model to let to check the permissions
$this->BesqualModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Bisfunktion extends APIv1_Controller
parent::__construct();
// Load model BisfunktionModel
$this->load->model('codex/bisfunktion_model', 'BisfunktionModel');
// Load set the uid of the model to let to check the permissions
$this->BisfunktionModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Bisio extends APIv1_Controller
parent::__construct();
// Load model BisioModel
$this->load->model('codex/bisio_model', 'BisioModel');
// Load set the uid of the model to let to check the permissions
$this->BisioModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Bisorgform extends APIv1_Controller
parent::__construct();
// Load model BisorgformModel
$this->load->model('codex/bisorgform_model', 'BisorgformModel');
// Load set the uid of the model to let to check the permissions
$this->BisorgformModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Bisverwendung extends APIv1_Controller
parent::__construct();
// Load model BisverwendungModel
$this->load->model('codex/bisverwendung_model', 'BisverwendungModel');
// Load set the uid of the model to let to check the permissions
$this->BisverwendungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Bundesland extends APIv1_Controller
parent::__construct();
// Load model PersonModel
$this->load->model('codex/bundesland_model', 'BundeslandModel');
// Load set the uid of the model to let to check the permissions
$this->BundeslandModel->setUID($this->_getUID());
}
public function getAll()
@@ -24,8 +24,6 @@ class Entwicklungsteam extends APIv1_Controller
parent::__construct();
// Load model EntwicklungsteamModel
$this->load->model('codex/entwicklungsteam_model', 'EntwicklungsteamModel');
// Load set the uid of the model to let to check the permissions
$this->EntwicklungsteamModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Gemeinde extends APIv1_Controller
parent::__construct();
// Load model GemeindeModel
$this->load->model('codex/gemeinde_model', 'GemeindeModel');
// Load set the uid of the model to let to check the permissions
$this->GemeindeModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Hauptberuf extends APIv1_Controller
parent::__construct();
// Load model HauptberufModel
$this->load->model('codex/hauptberuf_model', 'HauptberufModel');
// Load set the uid of the model to let to check the permissions
$this->HauptberufModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Lehrform extends APIv1_Controller
parent::__construct();
// Load model LehrformModel
$this->load->model('codex/lehrform_model', 'LehrformModel');
// Load set the uid of the model to let to check the permissions
$this->LehrformModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Lgartcode extends APIv1_Controller
parent::__construct();
// Load model LgartcodeModel
$this->load->model('codex/lgartcode_model', 'LgartcodeModel');
// Load set the uid of the model to let to check the permissions
$this->LgartcodeModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Mobilitaetsprogramm extends APIv1_Controller
parent::__construct();
// Load model MobilitaetsprogrammModel
$this->load->model('codex/mobilitaetsprogramm_model', 'MobilitaetsprogrammModel');
// Load set the uid of the model to let to check the permissions
$this->MobilitaetsprogrammModel->setUID($this->_getUID());
}
/**
@@ -22,10 +22,8 @@ class Nation extends APIv1_Controller
public function __construct()
{
parent::__construct();
// Load model PersonModel
// Load model NationModel
$this->load->model('codex/nation_model', 'NationModel');
// Load set the uid of the model to let to check the permissions
$this->NationModel->setUID($this->_getUID());
}
public function getNation()
@@ -24,8 +24,6 @@ class Note extends APIv1_Controller
parent::__construct();
// Load model NoteModel
$this->load->model('codex/note_model', 'NoteModel');
// Load set the uid of the model to let to check the permissions
$this->NoteModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Orgform extends APIv1_Controller
parent::__construct();
// Load model OrgformModel
$this->load->model('codex/orgform_model', 'OrgformModel');
// Load set the uid of the model to let to check the permissions
$this->OrgformModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Verwendung extends APIv1_Controller
parent::__construct();
// Load model VerwendungModel
$this->load->model('codex/verwendung_model', 'VerwendungModel');
// Load set the uid of the model to let to check the permissions
$this->VerwendungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Zgv extends APIv1_Controller
parent::__construct();
// Load model ZgvModel
$this->load->model('codex/zgv_model', 'ZgvModel');
// Load set the uid of the model to let to check the permissions
$this->ZgvModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Zgvdoktor extends APIv1_Controller
parent::__construct();
// Load model ZgvdoktorModel
$this->load->model('codex/zgvdoktor_model', 'ZgvdoktorModel');
// Load set the uid of the model to let to check the permissions
$this->ZgvdoktorModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Zgvgruppe extends APIv1_Controller
parent::__construct();
// Load model ZgvgruppeModel
$this->load->model('codex/zgvgruppe_model', 'ZgvgruppeModel');
// Load set the uid of the model to let to check the permissions
$this->ZgvgruppeModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Zgvmaster extends APIv1_Controller
parent::__construct();
// Load model ZgvmasterModel
$this->load->model('codex/zgvmaster_model', 'ZgvmasterModel');
// Load set the uid of the model to let to check the permissions
$this->ZgvmasterModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Zweck extends APIv1_Controller
parent::__construct();
// Load model ZweckModel
$this->load->model('codex/zweck_model', 'ZweckModel');
// Load set the uid of the model to let to check the permissions
$this->ZweckModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Ampel extends APIv1_Controller
parent::__construct();
// Load model AmpelModel
$this->load->model('content/ampel_model', 'AmpelModel');
// Load set the uid of the model to let to check the permissions
$this->AmpelModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Content extends APIv1_Controller
parent::__construct();
// Load model ContentModel
$this->load->model('content/content_model', 'ContentModel');
// Load set the uid of the model to let to check the permissions
$this->ContentModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Contentchild extends APIv1_Controller
parent::__construct();
// Load model ContentchildModel
$this->load->model('content/contentchild_model', 'ContentchildModel');
// Load set the uid of the model to let to check the permissions
$this->ContentchildModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Contentgruppe extends APIv1_Controller
parent::__construct();
// Load model ContentgruppeModel
$this->load->model('content/contentgruppe_model', 'ContentgruppeModel');
// Load set the uid of the model to let to check the permissions
$this->ContentgruppeModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Contentlog extends APIv1_Controller
parent::__construct();
// Load model ContentlogModel
$this->load->model('content/contentlog_model', 'ContentlogModel');
// Load set the uid of the model to let to check the permissions
$this->ContentlogModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Contentsprache extends APIv1_Controller
parent::__construct();
// Load model ContentspracheModel
$this->load->model('content/contentsprache_model', 'ContentspracheModel');
// Load set the uid of the model to let to check the permissions
$this->ContentspracheModel->setUID($this->_getUID());
}
/**
@@ -26,10 +26,6 @@ class Dms extends APIv1_Controller
$this->load->model('content/Dms_model', 'DmsModel');
$this->load->model('content/DmsVersion_model', 'DmsVersionModel');
$this->load->model('content/DmsFS_model', 'DmsFSModel');
// Set the uid of the model to let to check the permissions
$this->DmsModel->setUID($this->_getUID());
$this->DmsVersionModel->setUID($this->_getUID());
$this->DmsFSModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Infoscreen extends APIv1_Controller
parent::__construct();
// Load model InfoscreenModel
$this->load->model('content/infoscreen_model', 'InfoscreenModel');
// Load set the uid of the model to let to check the permissions
$this->InfoscreenModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class News extends APIv1_Controller
parent::__construct();
// Load model NewsModel
$this->load->model('content/news_model', 'NewsModel');
// Load set the uid of the model to let to check the permissions
$this->NewsModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Template extends APIv1_Controller
parent::__construct();
// Load model TemplateModel
$this->load->model('content/template_model', 'TemplateModel');
// Load set the uid of the model to let to check the permissions
$this->TemplateModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Veranstaltung extends APIv1_Controller
parent::__construct();
// Load model VeranstaltungModel
$this->load->model('content/veranstaltung_model', 'VeranstaltungModel');
// Load set the uid of the model to let to check the permissions
$this->VeranstaltungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,6 @@ class Veranstaltungskategorie extends APIv1_Controller
parent::__construct();
// Load model VeranstaltungskategorieModel
$this->load->model('content/veranstaltungskategorie_model', 'VeranstaltungskategorieModel');
// Load set the uid of the model to let to check the permissions
$this->VeranstaltungskategorieModel->setUID($this->_getUID());
}
/**
+2 -2
View File
@@ -24,8 +24,8 @@ class Akte extends APIv1_Controller
parent::__construct();
// Load model AkteModel
$this->load->model('crm/akte_model', 'AkteModel');
// Load set the uid of the model to let to check the permissions
$this->AkteModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Aufnahmeschluessel extends APIv1_Controller
parent::__construct();
// Load model AufnahmeschluesselModel
$this->load->model('crm/aufnahmeschluessel_model', 'AufnahmeschluesselModel');
// Load set the uid of the model to let to check the permissions
$this->AufnahmeschluesselModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Aufnahmetermin extends APIv1_Controller
parent::__construct();
// Load model AufnahmeterminModel
$this->load->model('crm/aufnahmetermin_model', 'AufnahmeterminModel');
// Load set the uid of the model to let to check the permissions
$this->AufnahmeterminModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Aufnahmetermintyp extends APIv1_Controller
parent::__construct();
// Load model AufnahmetermintypModel
$this->load->model('crm/aufnahmetermintyp_model', 'AufnahmetermintypModel');
// Load set the uid of the model to let to check the permissions
$this->AufnahmetermintypModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Bewerbungstermine extends APIv1_Controller
parent::__construct();
// Load model BewerbungstermineModel
$this->load->model('crm/bewerbungstermine_model', 'BewerbungstermineModel');
// Load set the uid of the model to let to check the permissions
$this->BewerbungstermineModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Buchungstyp extends APIv1_Controller
parent::__construct();
// Load model BuchungstypModel
$this->load->model('crm/buchungstyp_model', 'BuchungstypModel');
// Load set the uid of the model to let to check the permissions
$this->BuchungstypModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Dokument extends APIv1_Controller
parent::__construct();
// Load model DokumentModel
$this->load->model('crm/dokument_model', 'DokumentModel');
// Load set the uid of the model to let to check the permissions
$this->DokumentModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Dokumentprestudent extends APIv1_Controller
parent::__construct();
// Load model DokumentprestudentModel
$this->load->model('crm/dokumentprestudent_model', 'DokumentprestudentModel');
// Load set the uid of the model to let to check the permissions
$this->DokumentprestudentModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Dokumentstudiengang extends APIv1_Controller
parent::__construct();
// Load model DokumentstudiengangModel
$this->load->model('crm/dokumentstudiengang_model', 'DokumentstudiengangModel');
// Load set the uid of the model to let to check the permissions
$this->DokumentstudiengangModel->setUID($this->_getUID());
}
/**
+2 -2
View File
@@ -24,8 +24,8 @@ class Konto extends APIv1_Controller
parent::__construct();
// Load model KontoModel
$this->load->model('crm/konto_model', 'KontoModel');
// Load set the uid of the model to let to check the permissions
$this->KontoModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Preincoming extends APIv1_Controller
parent::__construct();
// Load model PreincomingModel
$this->load->model('crm/preincoming_model', 'PreincomingModel');
// Load set the uid of the model to let to check the permissions
$this->PreincomingModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Preinteressent extends APIv1_Controller
parent::__construct();
// Load model PersonModel
$this->load->model('crm/preinteressent_model', 'PreinteressentModel');
// Load set the uid of the model to let to check the permissions
$this->PreinteressentModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Preinteressentstudiengang extends APIv1_Controller
parent::__construct();
// Load model PreinteressentstudiengangModel
$this->load->model('crm/preinteressentstudiengang_model', 'PreinteressentstudiengangModel');
// Load set the uid of the model to let to check the permissions
$this->PreinteressentstudiengangModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Preoutgoing extends APIv1_Controller
parent::__construct();
// Load model PreoutgoingModel
$this->load->model('crm/preoutgoing_model', 'PreoutgoingModel');
// Load set the uid of the model to let to check the permissions
$this->PreoutgoingModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Prestudent extends APIv1_Controller
parent::__construct();
// Load model PrestudentModel
$this->load->model('crm/prestudent_model', 'PrestudentModel');
// Load set the uid of the model to let to check the permissions
$this->PrestudentModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Prestudentstatus extends APIv1_Controller
parent::__construct();
// Load model PrestudentstatusModel
$this->load->model('crm/prestudentstatus_model', 'PrestudentstatusModel');
// Load set the uid of the model to let to check the permissions
$this->PrestudentstatusModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Reihungstest extends APIv1_Controller
parent::__construct();
// Load model ReihungstestModel
$this->load->model('crm/reihungstest_model', 'ReihungstestModel');
// Load set the uid of the model to let to check the permissions
$this->ReihungstestModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Status extends APIv1_Controller
parent::__construct();
// Load model StatusModel
$this->load->model('crm/status_model', 'StatusModel');
// Load set the uid of the model to let to check the permissions
$this->StatusModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Student extends APIv1_Controller
parent::__construct();
// Load model StudentModel
$this->load->model('crm/student_model', 'StudentModel');
// Load set the uid of the model to let to check the permissions
$this->StudentModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Abgabe extends APIv1_Controller
parent::__construct();
// Load model AbgabeModel
$this->load->model('education/abgabe', 'AbgabeModel');
// Load set the uid of the model to let to check the permissions
$this->AbgabeModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Abschlussbeurteilung extends APIv1_Controller
parent::__construct();
// Load model AbschlussbeurteilungModel
$this->load->model('education/abschlussbeurteilung', 'AbschlussbeurteilungModel');
// Load set the uid of the model to let to check the permissions
$this->AbschlussbeurteilungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Abschlusspruefung extends APIv1_Controller
parent::__construct();
// Load model AbschlusspruefungModel
$this->load->model('education/abschlusspruefung', 'AbschlusspruefungModel');
// Load set the uid of the model to let to check the permissions
$this->AbschlusspruefungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Anrechnung extends APIv1_Controller
parent::__construct();
// Load model AnrechnungModel
$this->load->model('education/anrechnung', 'AnrechnungModel');
// Load set the uid of the model to let to check the permissions
$this->AnrechnungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Anwesenheit extends APIv1_Controller
parent::__construct();
// Load model AnwesenheitModel
$this->load->model('education/anwesenheit', 'AnwesenheitModel');
// Load set the uid of the model to let to check the permissions
$this->AnwesenheitModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Beispiel extends APIv1_Controller
parent::__construct();
// Load model BeispielModel
$this->load->model('education/beispiel', 'BeispielModel');
// Load set the uid of the model to let to check the permissions
$this->BeispielModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Betreuerart extends APIv1_Controller
parent::__construct();
// Load model BetreuerartModel
$this->load->model('education/betreuerart', 'BetreuerartModel');
// Load set the uid of the model to let to check the permissions
$this->BetreuerartModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Feedback extends APIv1_Controller
parent::__construct();
// Load model FeedbackModel
$this->load->model('education/feedback', 'FeedbackModel');
// Load set the uid of the model to let to check the permissions
$this->FeedbackModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class LeNotenschluessel extends APIv1_Controller
parent::__construct();
// Load model LeNotenschluesselModel
$this->load->model('education/lenotenschluessel', 'LeNotenschluesselModel');
// Load set the uid of the model to let to check the permissions
$this->LeNotenschluesselModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class LePruefung extends APIv1_Controller
parent::__construct();
// Load model LePruefungModel
$this->load->model('education/lepruefung', 'LePruefungModel');
// Load set the uid of the model to let to check the permissions
$this->LePruefungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Legesamtnote extends APIv1_Controller
parent::__construct();
// Load model LegesamtnoteModel
$this->load->model('education/legesamtnote', 'LegesamtnoteModel');
// Load set the uid of the model to let to check the permissions
$this->LegesamtnoteModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lehreinheit extends APIv1_Controller
parent::__construct();
// Load model LehreinheitModel
$this->load->model('education/lehreinheit', 'LehreinheitModel');
// Load set the uid of the model to let to check the permissions
$this->LehreinheitModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lehreinheitgruppe extends APIv1_Controller
parent::__construct();
// Load model LehreinheitgruppeModel
$this->load->model('education/lehreinheitgruppe', 'LehreinheitgruppeModel');
// Load set the uid of the model to let to check the permissions
$this->LehreinheitgruppeModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lehreinheitmitarbeiter extends APIv1_Controller
parent::__construct();
// Load model LehreinheitmitarbeiterModel
$this->load->model('education/lehreinheitmitarbeiter', 'LehreinheitmitarbeiterModel');
// Load set the uid of the model to let to check the permissions
$this->LehreinheitmitarbeiterModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lehrfach extends APIv1_Controller
parent::__construct();
// Load model LehrfachModel
$this->load->model('education/lehrfach', 'LehrfachModel');
// Load set the uid of the model to let to check the permissions
$this->LehrfachModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lehrfunktion extends APIv1_Controller
parent::__construct();
// Load model LehrfunktionModel
$this->load->model('education/lehrfunktion', 'LehrfunktionModel');
// Load set the uid of the model to let to check the permissions
$this->LehrfunktionModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lehrtyp extends APIv1_Controller
parent::__construct();
// Load model LehrtypModel
$this->load->model('education/lehrtyp', 'LehrtypModel');
// Load set the uid of the model to let to check the permissions
$this->LehrtypModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lehrveranstaltung extends APIv1_Controller
parent::__construct();
// Load model LehrveranstaltungModel
$this->load->model('education/lehrveranstaltung', 'LehrveranstaltungModel');
// Load set the uid of the model to let to check the permissions
$this->LehrveranstaltungModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lvangebot extends APIv1_Controller
parent::__construct();
// Load model LvangebotModel
$this->load->model('education/lvangebot', 'LvangebotModel');
// Load set the uid of the model to let to check the permissions
$this->LvangebotModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lvgesamtnote extends APIv1_Controller
parent::__construct();
// Load model LvgesamtnoteModel
$this->load->model('education/lvgesamtnote', 'LvgesamtnoteModel');
// Load set the uid of the model to let to check the permissions
$this->LvgesamtnoteModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lvinfo extends APIv1_Controller
parent::__construct();
// Load model LvinfoModel
$this->load->model('education/lvinfo', 'LvinfoModel');
// Load set the uid of the model to let to check the permissions
$this->LvinfoModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lvregel extends APIv1_Controller
parent::__construct();
// Load model LvregelModel
$this->load->model('education/lvregel', 'LvregelModel');
// Load set the uid of the model to let to check the permissions
$this->LvregelModel->setUID($this->_getUID());
}
/**
@@ -24,8 +24,8 @@ class Lvregeltyp extends APIv1_Controller
parent::__construct();
// Load model LvregeltypModel
$this->load->model('education/lvregeltyp', 'LvregeltypModel');
// Load set the uid of the model to let to check the permissions
$this->LvregeltypModel->setUID($this->_getUID());
}
/**

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