mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-16 19:49:28 +00:00
Merge branch 'ci' of https://github.com/FH-Complete/FHC-Core into ci
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
defined('DB_HOST') OR require_once './config/system.config.inc.php'; // For CLI-Migrations
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$_doctypes = array(
|
||||
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
|
||||
@@ -189,7 +189,7 @@ class Examples extends CI_Controller
|
||||
|
||||
$output = $crud->render();
|
||||
|
||||
if($crud->getState() != 'list') {
|
||||
if ($crud->getState() != 'list') {
|
||||
$this->_example_output($output);
|
||||
} else {
|
||||
return $output;
|
||||
@@ -214,7 +214,7 @@ class Examples extends CI_Controller
|
||||
|
||||
$output = $crud->render();
|
||||
|
||||
if($crud->getState() != 'list') {
|
||||
if ($crud->getState() != 'list') {
|
||||
$this->_example_output($output);
|
||||
} else {
|
||||
return $output;
|
||||
@@ -237,7 +237,7 @@ class Examples extends CI_Controller
|
||||
|
||||
$output = $crud->render();
|
||||
|
||||
if($crud->getState() != 'list') {
|
||||
if ($crud->getState() != 'list') {
|
||||
$this->_example_output($output);
|
||||
} else {
|
||||
return $output;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') || exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class ModelTest extends FHC_Controller
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* @return some value on success.
|
||||
*/
|
||||
|
||||
defined('BASEPATH') || exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* @class Rest_server
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') || exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Vilesci extends FHC_Controller
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Welcome extends CI_Controller {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// This can be removed if you use __autoload() in config.php OR use Modular Extensions
|
||||
require APPPATH . '/libraries/REST_Controller.php';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
defined('BASEPATH') || exit('No direct script access allowed');
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
//require_once APPPATH . '/libraries/REST_Controller.php';
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Aufteilung extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Aufteilung extends APIv1_Controller
|
||||
{
|
||||
$aufteilungID = $this->get('aufteilung_id');
|
||||
|
||||
if(isset($aufteilungID))
|
||||
if (isset($aufteilungID))
|
||||
{
|
||||
$result = $this->AufteilungModel->load($aufteilungID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Aufteilung extends APIv1_Controller
|
||||
*/
|
||||
public function postAufteilung()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['aufteilung_id']))
|
||||
if (isset($this->post()['aufteilung_id']))
|
||||
{
|
||||
$result = $this->AufteilungModel->update($this->post()['aufteilung_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bestelldetail extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Bestelldetail extends APIv1_Controller
|
||||
{
|
||||
$bestelldetailID = $this->get('bestelldetail_id');
|
||||
|
||||
if(isset($bestelldetailID))
|
||||
if (isset($bestelldetailID))
|
||||
{
|
||||
$result = $this->BestelldetailModel->load($bestelldetailID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Bestelldetail extends APIv1_Controller
|
||||
*/
|
||||
public function postBestelldetail()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['bestelldetail_id']))
|
||||
if (isset($this->post()['bestelldetail_id']))
|
||||
{
|
||||
$result = $this->BestelldetailModel->update($this->post()['bestelldetail_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bestelldetailtag extends APIv1_Controller
|
||||
{
|
||||
@@ -36,7 +36,7 @@ class Bestelldetailtag extends APIv1_Controller
|
||||
$bestelldetail_id = $this->get('bestelldetail_id');
|
||||
$tag = $this->get('tag');
|
||||
|
||||
if(isset($bestelldetail_id) && isset($tag))
|
||||
if (isset($bestelldetail_id) && isset($tag))
|
||||
{
|
||||
$result = $this->BestelldetailtagModel->load(array($bestelldetail_id, $tag));
|
||||
|
||||
@@ -53,9 +53,9 @@ class Bestelldetailtag extends APIv1_Controller
|
||||
*/
|
||||
public function postBestelldetailtag()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['bestelldetailtag_id']))
|
||||
if (isset($this->post()['bestelldetailtag_id']))
|
||||
{
|
||||
$result = $this->BestelldetailtagModel->update($this->post()['bestelldetailtag_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bestellstatus extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Bestellstatus extends APIv1_Controller
|
||||
{
|
||||
$bestellstatus_kurzbz = $this->get('bestellstatus_kurzbz');
|
||||
|
||||
if(isset($bestellstatus_kurzbz))
|
||||
if (isset($bestellstatus_kurzbz))
|
||||
{
|
||||
$result = $this->BestellstatusModel->load($bestellstatus_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Bestellstatus extends APIv1_Controller
|
||||
*/
|
||||
public function postBestellstatus()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['bestellstatus_kurzbz']))
|
||||
if (isset($this->post()['bestellstatus_kurzbz']))
|
||||
{
|
||||
$result = $this->BestellstatusModel->update($this->post()['bestellstatus_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bestellung extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Bestellung extends APIv1_Controller
|
||||
{
|
||||
$bestellungID = $this->get('bestellung_id');
|
||||
|
||||
if(isset($bestellungID))
|
||||
if (isset($bestellungID))
|
||||
{
|
||||
$result = $this->BestellungModel->load($bestellungID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Bestellung extends APIv1_Controller
|
||||
*/
|
||||
public function postBestellung()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['bestellung_id']))
|
||||
if (isset($this->post()['bestellung_id']))
|
||||
{
|
||||
$result = $this->BestellungModel->update($this->post()['bestellung_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bestellungtag extends APIv1_Controller
|
||||
{
|
||||
@@ -36,7 +36,7 @@ class Bestellungtag extends APIv1_Controller
|
||||
$bestellung_id = $this->get('bestellung_id');
|
||||
$tag = $this->get('tag');
|
||||
|
||||
if(isset($bestellung_id) && isset($tag))
|
||||
if (isset($bestellung_id) && isset($tag))
|
||||
{
|
||||
$result = $this->BestellungtagModel->load(array($bestellung_id, $tag));
|
||||
|
||||
@@ -53,9 +53,9 @@ class Bestellungtag extends APIv1_Controller
|
||||
*/
|
||||
public function postBestellungtag()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['bestellungtag_id']))
|
||||
if (isset($this->post()['bestellungtag_id']))
|
||||
{
|
||||
$result = $this->BestellungtagModel->update($this->post()['bestellungtag_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Buchung extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Buchung extends APIv1_Controller
|
||||
{
|
||||
$buchungID = $this->get('buchung_id');
|
||||
|
||||
if(isset($buchungID))
|
||||
if (isset($buchungID))
|
||||
{
|
||||
$result = $this->BuchungModel->load($buchungID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Buchung extends APIv1_Controller
|
||||
*/
|
||||
public function postBuchung()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['buchung_id']))
|
||||
if (isset($this->post()['buchung_id']))
|
||||
{
|
||||
$result = $this->BuchungModel->update($this->post()['buchung_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Buchungstyp extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Buchungstyp extends APIv1_Controller
|
||||
{
|
||||
$buchungstyp_kurzbz = $this->get('buchungstyp_kurzbz');
|
||||
|
||||
if(isset($buchungstyp_kurzbz))
|
||||
if (isset($buchungstyp_kurzbz))
|
||||
{
|
||||
$result = $this->BuchungstypModel->load($buchungstyp_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Buchungstyp extends APIv1_Controller
|
||||
*/
|
||||
public function postBuchungstyp()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['buchungstyp_kurzbz']))
|
||||
if (isset($this->post()['buchungstyp_kurzbz']))
|
||||
{
|
||||
$result = $this->BuchungstypModel->update($this->post()['buchungstyp_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Budget extends APIv1_Controller
|
||||
{
|
||||
@@ -36,7 +36,7 @@ class Budget extends APIv1_Controller
|
||||
$kostenstelle_id = $this->get('kostenstelle_id');
|
||||
$geschaeftsjahr_kurzbz = $this->get('geschaeftsjahr_kurzbz');
|
||||
|
||||
if(isset($kostenstelle_id) && isset($geschaeftsjahr_kurzbz))
|
||||
if (isset($kostenstelle_id) && isset($geschaeftsjahr_kurzbz))
|
||||
{
|
||||
$result = $this->BudgetModel->load(array($kostenstelle_id, $geschaeftsjahr_kurzbz));
|
||||
|
||||
@@ -53,9 +53,9 @@ class Budget extends APIv1_Controller
|
||||
*/
|
||||
public function postBudget()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['budget_id']) && isset($this->post()['geschaeftsjahr_kurzbz']))
|
||||
if (isset($this->post()['budget_id']) && isset($this->post()['geschaeftsjahr_kurzbz']))
|
||||
{
|
||||
$result = $this->BudgetModel->update(array($this->post()['budget_id'], $this->post()['geschaeftsjahr_kurzbz']), $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Konto extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Konto extends APIv1_Controller
|
||||
{
|
||||
$kontoID = $this->get('konto_id');
|
||||
|
||||
if(isset($kontoID))
|
||||
if (isset($kontoID))
|
||||
{
|
||||
$result = $this->KontoModel->load($kontoID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Konto extends APIv1_Controller
|
||||
*/
|
||||
public function postKonto()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['konto_id']))
|
||||
if (isset($this->post()['konto_id']))
|
||||
{
|
||||
$result = $this->KontoModel->update($this->post()['konto_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Kostenstelle extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Kostenstelle extends APIv1_Controller
|
||||
{
|
||||
$kostenstelleID = $this->get('kostenstelle_id');
|
||||
|
||||
if(isset($kostenstelleID))
|
||||
if (isset($kostenstelleID))
|
||||
{
|
||||
$result = $this->KostenstelleModel->load($kostenstelleID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Kostenstelle extends APIv1_Controller
|
||||
*/
|
||||
public function postKostenstelle()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['kostenstelle_id']))
|
||||
if (isset($this->post()['kostenstelle_id']))
|
||||
{
|
||||
$result = $this->KostenstelleModel->update($this->post()['kostenstelle_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Rechnung extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Rechnung extends APIv1_Controller
|
||||
{
|
||||
$rechnungID = $this->get('rechnung_id');
|
||||
|
||||
if(isset($rechnungID))
|
||||
if (isset($rechnungID))
|
||||
{
|
||||
$result = $this->RechnungModel->load($rechnungID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Rechnung extends APIv1_Controller
|
||||
*/
|
||||
public function postRechnung()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['rechnung_id']))
|
||||
if (isset($this->post()['rechnung_id']))
|
||||
{
|
||||
$result = $this->RechnungModel->update($this->post()['rechnung_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Rechnungsbetrag extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Rechnungsbetrag extends APIv1_Controller
|
||||
{
|
||||
$rechnungsbetragID = $this->get('rechnungsbetrag_id');
|
||||
|
||||
if(isset($rechnungsbetragID))
|
||||
if (isset($rechnungsbetragID))
|
||||
{
|
||||
$result = $this->RechnungsbetragModel->load($rechnungsbetragID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Rechnungsbetrag extends APIv1_Controller
|
||||
*/
|
||||
public function postRechnungsbetrag()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['rechnungsbetrag_id']))
|
||||
if (isset($this->post()['rechnungsbetrag_id']))
|
||||
{
|
||||
$result = $this->RechnungsbetragModel->update($this->post()['rechnungsbetrag_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Rechnungstyp extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Rechnungstyp extends APIv1_Controller
|
||||
{
|
||||
$rechnungstyp_kurzbz = $this->get('rechnungstyp_kurzbz');
|
||||
|
||||
if(isset($rechnungstyp_kurzbz))
|
||||
if (isset($rechnungstyp_kurzbz))
|
||||
{
|
||||
$result = $this->RechnungstypModel->load($rechnungstyp_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Rechnungstyp extends APIv1_Controller
|
||||
*/
|
||||
public function postRechnungstyp()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['rechnungstyp_kurzbz']))
|
||||
if (isset($this->post()['rechnungstyp_kurzbz']))
|
||||
{
|
||||
$result = $this->RechnungstypModel->update($this->post()['rechnungstyp_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Vertrag extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Vertrag extends APIv1_Controller
|
||||
{
|
||||
$vertragID = $this->get('vertrag_id');
|
||||
|
||||
if(isset($vertragID))
|
||||
if (isset($vertragID))
|
||||
{
|
||||
$result = $this->VertragModel->load($vertragID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Vertrag extends APIv1_Controller
|
||||
*/
|
||||
public function postVertrag()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['vertrag_id']))
|
||||
if (isset($this->post()['vertrag_id']))
|
||||
{
|
||||
$result = $this->VertragModel->update($this->post()['vertrag_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Vertragsstatus extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Vertragsstatus extends APIv1_Controller
|
||||
{
|
||||
$vertragsstatus_kurzbz = $this->get('vertragsstatus_kurzbz');
|
||||
|
||||
if(isset($vertragsstatus_kurzbz))
|
||||
if (isset($vertragsstatus_kurzbz))
|
||||
{
|
||||
$result = $this->VertragsstatusModel->load($vertragsstatus_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Vertragsstatus extends APIv1_Controller
|
||||
*/
|
||||
public function postVertragsstatus()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['vertragsstatus_kurzbz']))
|
||||
if (isset($this->post()['vertragsstatus_kurzbz']))
|
||||
{
|
||||
$result = $this->VertragsstatusModel->update($this->post()['vertragsstatus_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Vertragstyp extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Vertragstyp extends APIv1_Controller
|
||||
{
|
||||
$vertragstyp_kurzbz = $this->get('vertragstyp_kurzbz');
|
||||
|
||||
if(isset($vertragstyp_kurzbz))
|
||||
if (isset($vertragstyp_kurzbz))
|
||||
{
|
||||
$result = $this->VertragstypModel->load($vertragstyp_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Vertragstyp extends APIv1_Controller
|
||||
*/
|
||||
public function postVertragstyp()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['vertragstyp_kurzbz']))
|
||||
if (isset($this->post()['vertragstyp_kurzbz']))
|
||||
{
|
||||
$result = $this->VertragstypModel->update($this->post()['vertragstyp_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zahlungstyp extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Zahlungstyp extends APIv1_Controller
|
||||
{
|
||||
$zahlungstyp_kurzbz = $this->get('zahlungstyp_kurzbz');
|
||||
|
||||
if(isset($zahlungstyp_kurzbz))
|
||||
if (isset($zahlungstyp_kurzbz))
|
||||
{
|
||||
$result = $this->ZahlungstypModel->load($zahlungstyp_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Zahlungstyp extends APIv1_Controller
|
||||
*/
|
||||
public function postZahlungstyp()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['zahlungstyp_kurzbz']))
|
||||
if (isset($this->post()['zahlungstyp_kurzbz']))
|
||||
{
|
||||
$result = $this->ZahlungstypModel->update($this->post()['zahlungstyp_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Akadgrad extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Akadgrad extends APIv1_Controller
|
||||
{
|
||||
$akadgradID = $this->get('akadgrad_id');
|
||||
|
||||
if(isset($akadgradID))
|
||||
if (isset($akadgradID))
|
||||
{
|
||||
$result = $this->AkadgradModel->load($akadgradID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Akadgrad extends APIv1_Controller
|
||||
*/
|
||||
public function postAkadgrad()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['akadgrad_id']))
|
||||
if (isset($this->post()['akadgrad_id']))
|
||||
{
|
||||
$result = $this->AkadgradModel->update($this->post()['akadgrad_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Archiv extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Archiv extends APIv1_Controller
|
||||
{
|
||||
$archivID = $this->get('archiv_id');
|
||||
|
||||
if(isset($archivID))
|
||||
if (isset($archivID))
|
||||
{
|
||||
$result = $this->ArchivModel->load($archivID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Archiv extends APIv1_Controller
|
||||
*/
|
||||
public function postArchiv()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['archiv_id']))
|
||||
if (isset($this->post()['archiv_id']))
|
||||
{
|
||||
$result = $this->ArchivModel->update($this->post()['archiv_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Aufmerksamdurch extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Aufmerksamdurch extends APIv1_Controller
|
||||
{
|
||||
$aufmerksamdurch_kurzbz = $this->get('aufmerksamdurch_kurzbz');
|
||||
|
||||
if(isset($aufmerksamdurch_kurzbz))
|
||||
if (isset($aufmerksamdurch_kurzbz))
|
||||
{
|
||||
$result = $this->AufmerksamdurchModel->load($aufmerksamdurch_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Aufmerksamdurch extends APIv1_Controller
|
||||
*/
|
||||
public function postAufmerksamdurch()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['aufmerksamdurch_kurzbz']))
|
||||
if (isset($this->post()['aufmerksamdurch_kurzbz']))
|
||||
{
|
||||
$result = $this->AufmerksamdurchModel->update($this->post()['aufmerksamdurch_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Ausbildung extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Ausbildung extends APIv1_Controller
|
||||
{
|
||||
$ausbildungcode = $this->get('ausbildungcode');
|
||||
|
||||
if(isset($ausbildungcode))
|
||||
if (isset($ausbildungcode))
|
||||
{
|
||||
$result = $this->AusbildungModel->load($ausbildungcode);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Ausbildung extends APIv1_Controller
|
||||
*/
|
||||
public function postAusbildung()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['ausbildungcode']))
|
||||
if (isset($this->post()['ausbildungcode']))
|
||||
{
|
||||
$result = $this->AusbildungModel->update($this->post()['ausbildungcode'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Berufstaetigkeit extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Berufstaetigkeit extends APIv1_Controller
|
||||
{
|
||||
$berufstaetigkeit_code = $this->get('berufstaetigkeit_code');
|
||||
|
||||
if(isset($berufstaetigkeit_code))
|
||||
if (isset($berufstaetigkeit_code))
|
||||
{
|
||||
$result = $this->BerufstaetigkeitModel->load($berufstaetigkeit_code);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Berufstaetigkeit extends APIv1_Controller
|
||||
*/
|
||||
public function postBerufstaetigkeit()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['berufstaetigkeit_code']))
|
||||
if (isset($this->post()['berufstaetigkeit_code']))
|
||||
{
|
||||
$result = $this->BerufstaetigkeitModel->update($this->post()['berufstaetigkeit_code'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Beschaeftigungsausmass extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Beschaeftigungsausmass extends APIv1_Controller
|
||||
{
|
||||
$beschausmasscode = $this->get('beschausmasscode');
|
||||
|
||||
if(isset($beschausmasscode))
|
||||
if (isset($beschausmasscode))
|
||||
{
|
||||
$result = $this->BeschaeftigungsausmassModel->load($beschausmasscode);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Beschaeftigungsausmass extends APIv1_Controller
|
||||
*/
|
||||
public function postBeschaeftigungsausmass()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['beschausmasscode']))
|
||||
if (isset($this->post()['beschausmasscode']))
|
||||
{
|
||||
$result = $this->BeschaeftigungsausmassModel->update($this->post()['beschausmasscode'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Besqual extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Besqual extends APIv1_Controller
|
||||
{
|
||||
$besqualcode = $this->get('besqualcode');
|
||||
|
||||
if(isset($besqualcode))
|
||||
if (isset($besqualcode))
|
||||
{
|
||||
$result = $this->BesqualModel->load($besqualcode);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Besqual extends APIv1_Controller
|
||||
*/
|
||||
public function postBesqual()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['besqualcode']))
|
||||
if (isset($this->post()['besqualcode']))
|
||||
{
|
||||
$result = $this->BesqualModel->update($this->post()['besqualcode'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bisfunktion extends APIv1_Controller
|
||||
{
|
||||
@@ -36,7 +36,7 @@ class Bisfunktion extends APIv1_Controller
|
||||
$studiengang_kz = $this->get('studiengang_kz');
|
||||
$bisverwendung_id = $this->get('bisverwendung_id');
|
||||
|
||||
if(isset($studiengang_kz) && isset($bisverwendung_id))
|
||||
if (isset($studiengang_kz) && isset($bisverwendung_id))
|
||||
{
|
||||
$result = $this->BisfunktionModel->load(array($studiengang_kz, $bisverwendung_id));
|
||||
|
||||
@@ -53,9 +53,9 @@ class Bisfunktion extends APIv1_Controller
|
||||
*/
|
||||
public function postBisfunktion()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['studiengang_kz']) && isset($this->post()['bisverwendung_id']))
|
||||
if (isset($this->post()['studiengang_kz']) && isset($this->post()['bisverwendung_id']))
|
||||
{
|
||||
$result = $this->BisfunktionModel->update(array($this->post()['studiengang_kz'], $this->post()['bisverwendung_id']), $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bisio extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Bisio extends APIv1_Controller
|
||||
{
|
||||
$bisioID = $this->get('bisio_id');
|
||||
|
||||
if(isset($bisioID))
|
||||
if (isset($bisioID))
|
||||
{
|
||||
$result = $this->BisioModel->load($bisioID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Bisio extends APIv1_Controller
|
||||
*/
|
||||
public function postBisio()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['bisio_id']))
|
||||
if (isset($this->post()['bisio_id']))
|
||||
{
|
||||
$result = $this->BisioModel->update($this->post()['bisio_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bisorgform extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Bisorgform extends APIv1_Controller
|
||||
{
|
||||
$bisorgform_kurzbz = $this->get('bisorgform_kurzbz');
|
||||
|
||||
if(isset($bisorgform_kurzbz))
|
||||
if (isset($bisorgform_kurzbz))
|
||||
{
|
||||
$result = $this->BisorgformModel->load($bisorgform_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Bisorgform extends APIv1_Controller
|
||||
*/
|
||||
public function postBisorgform()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['bisorgform_kurzbz']))
|
||||
if (isset($this->post()['bisorgform_kurzbz']))
|
||||
{
|
||||
$result = $this->BisorgformModel->update($this->post()['bisorgform_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bisverwendung extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Bisverwendung extends APIv1_Controller
|
||||
{
|
||||
$bisverwendungID = $this->get('bisverwendung_id');
|
||||
|
||||
if(isset($bisverwendungID))
|
||||
if (isset($bisverwendungID))
|
||||
{
|
||||
$result = $this->BisverwendungModel->load($bisverwendungID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Bisverwendung extends APIv1_Controller
|
||||
*/
|
||||
public function postBisverwendung()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['bisverwendung_id']))
|
||||
if (isset($this->post()['bisverwendung_id']))
|
||||
{
|
||||
$result = $this->BisverwendungModel->update($this->post()['bisverwendung_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bundesland extends APIv1_Controller
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Entwicklungsteam extends APIv1_Controller
|
||||
{
|
||||
@@ -36,7 +36,7 @@ class Entwicklungsteam extends APIv1_Controller
|
||||
$studiengang_kz = $this->get('studiengang_kz');
|
||||
$mitarbeiter_uid = $this->get('mitarbeiter_uid');
|
||||
|
||||
if(isset($studiengang_kz) && isset($mitarbeiter_uid))
|
||||
if (isset($studiengang_kz) && isset($mitarbeiter_uid))
|
||||
{
|
||||
$result = $this->EntwicklungsteamModel->load(array($studiengang_kz, $mitarbeiter_uid));
|
||||
|
||||
@@ -53,9 +53,9 @@ class Entwicklungsteam extends APIv1_Controller
|
||||
*/
|
||||
public function postEntwicklungsteam()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['studiengang_kz']) && isset($this->post()['mitarbeiter_uid']))
|
||||
if (isset($this->post()['studiengang_kz']) && isset($this->post()['mitarbeiter_uid']))
|
||||
{
|
||||
$result = $this->EntwicklungsteamModel->update(array($this->post()['entwicklungsteam_id'], $this->post()['mitarbeiter_uid']), $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Gemeinde extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Gemeinde extends APIv1_Controller
|
||||
{
|
||||
$gemeindeID = $this->get('gemeinde_id');
|
||||
|
||||
if(isset($gemeindeID))
|
||||
if (isset($gemeindeID))
|
||||
{
|
||||
$result = $this->GemeindeModel->load($gemeindeID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Gemeinde extends APIv1_Controller
|
||||
*/
|
||||
public function postGemeinde()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['gemeinde_id']))
|
||||
if (isset($this->post()['gemeinde_id']))
|
||||
{
|
||||
$result = $this->GemeindeModel->update($this->post()['gemeinde_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Hauptberuf extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Hauptberuf extends APIv1_Controller
|
||||
{
|
||||
$hauptberufcode = $this->get('hauptberufcode');
|
||||
|
||||
if(isset($hauptberufcode))
|
||||
if (isset($hauptberufcode))
|
||||
{
|
||||
$result = $this->HauptberufModel->load($hauptberufcode);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Hauptberuf extends APIv1_Controller
|
||||
*/
|
||||
public function postHauptberuf()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['hauptberufcode']))
|
||||
if (isset($this->post()['hauptberufcode']))
|
||||
{
|
||||
$result = $this->HauptberufModel->update($this->post()['hauptberufcode'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Lehrform extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Lehrform extends APIv1_Controller
|
||||
{
|
||||
$lehrform_kurzbz = $this->get('lehrform_kurzbz');
|
||||
|
||||
if(isset($lehrform_kurzbz))
|
||||
if (isset($lehrform_kurzbz))
|
||||
{
|
||||
$result = $this->LehrformModel->load($lehrform_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Lehrform extends APIv1_Controller
|
||||
*/
|
||||
public function postLehrform()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['lehrform_kurzbz']))
|
||||
if (isset($this->post()['lehrform_kurzbz']))
|
||||
{
|
||||
$result = $this->LehrformModel->update($this->post()['lehrform_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Lgartcode extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Lgartcode extends APIv1_Controller
|
||||
{
|
||||
$lgartcode = $this->get('lgartcode');
|
||||
|
||||
if(isset($lgartcode))
|
||||
if (isset($lgartcode))
|
||||
{
|
||||
$result = $this->LgartcodeModel->load($lgartcode);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Lgartcode extends APIv1_Controller
|
||||
*/
|
||||
public function postLgartcode()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['lgartcode']))
|
||||
if (isset($this->post()['lgartcode']))
|
||||
{
|
||||
$result = $this->LgartcodeModel->update($this->post()['lgartcode'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Mobilitaetsprogramm extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Mobilitaetsprogramm extends APIv1_Controller
|
||||
{
|
||||
$mobilitaetsprogramm_code = $this->get('mobilitaetsprogramm_code');
|
||||
|
||||
if(isset($mobilitaetsprogramm_code))
|
||||
if (isset($mobilitaetsprogramm_code))
|
||||
{
|
||||
$result = $this->MobilitaetsprogrammModel->load($mobilitaetsprogramm_code);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Mobilitaetsprogramm extends APIv1_Controller
|
||||
*/
|
||||
public function postMobilitaetsprogramm()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['mobilitaetsprogramm_code']))
|
||||
if (isset($this->post()['mobilitaetsprogramm_code']))
|
||||
{
|
||||
$result = $this->MobilitaetsprogrammModel->update($this->post()['mobilitaetsprogramm_code'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Nation extends APIv1_Controller
|
||||
{
|
||||
@@ -30,7 +30,7 @@ class Nation extends APIv1_Controller
|
||||
|
||||
public function getAll()
|
||||
{
|
||||
if(!$this->get('orderEnglish'))
|
||||
if (!$this->get('orderEnglish'))
|
||||
{
|
||||
$result = $this->NationModel->addOrder('kurztext');
|
||||
}
|
||||
@@ -39,9 +39,9 @@ class Nation extends APIv1_Controller
|
||||
$result = $this->NationModel->addOrder('engltext');
|
||||
}
|
||||
|
||||
if($result->error == EXIT_SUCCESS)
|
||||
if ($result->error == EXIT_SUCCESS)
|
||||
{
|
||||
if($this->get('ohnesperre'))
|
||||
if ($this->get('ohnesperre'))
|
||||
{
|
||||
$result = $this->NationModel->loadWhere('sperre IS NULL');
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Note extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Note extends APIv1_Controller
|
||||
{
|
||||
$note = $this->get('note');
|
||||
|
||||
if(isset($note))
|
||||
if (isset($note))
|
||||
{
|
||||
$result = $this->NoteModel->load($note);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Note extends APIv1_Controller
|
||||
*/
|
||||
public function postNote()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['note']))
|
||||
if (isset($this->post()['note']))
|
||||
{
|
||||
$result = $this->NoteModel->update($this->post()['note'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Orgform extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Orgform extends APIv1_Controller
|
||||
{
|
||||
$orgform_kurzbz = $this->get('orgform_kurzbz');
|
||||
|
||||
if(isset($orgform_kurzbz))
|
||||
if (isset($orgform_kurzbz))
|
||||
{
|
||||
$result = $this->OrgformModel->load($orgform_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Orgform extends APIv1_Controller
|
||||
*/
|
||||
public function postOrgform()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['orgform_kurzbz']))
|
||||
if (isset($this->post()['orgform_kurzbz']))
|
||||
{
|
||||
$result = $this->OrgformModel->update($this->post()['orgform_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Verwendung extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Verwendung extends APIv1_Controller
|
||||
{
|
||||
$verwendung_code = $this->get('verwendung_code');
|
||||
|
||||
if(isset($verwendung_code))
|
||||
if (isset($verwendung_code))
|
||||
{
|
||||
$result = $this->VerwendungModel->load($verwendung_code);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Verwendung extends APIv1_Controller
|
||||
*/
|
||||
public function postVerwendung()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['verwendung_code']))
|
||||
if (isset($this->post()['verwendung_code']))
|
||||
{
|
||||
$result = $this->VerwendungModel->update($this->post()['verwendung_code'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zgv extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Zgv extends APIv1_Controller
|
||||
{
|
||||
$zgv_code = $this->get('zgv_code');
|
||||
|
||||
if(isset($zgv_code))
|
||||
if (isset($zgv_code))
|
||||
{
|
||||
$result = $this->ZgvModel->load($zgv_code);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Zgv extends APIv1_Controller
|
||||
*/
|
||||
public function postZgv()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['zgv_code']))
|
||||
if (isset($this->post()['zgv_code']))
|
||||
{
|
||||
$result = $this->ZgvModel->update($this->post()['zgv_code'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zgvdoktor extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Zgvdoktor extends APIv1_Controller
|
||||
{
|
||||
$zgvdoktor_code = $this->get('zgvdoktor_code');
|
||||
|
||||
if(isset($zgvdoktor_code))
|
||||
if (isset($zgvdoktor_code))
|
||||
{
|
||||
$result = $this->ZgvdoktorModel->load($zgvdoktor_code);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Zgvdoktor extends APIv1_Controller
|
||||
*/
|
||||
public function postZgvdoktor()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['zgvdoktor_code']))
|
||||
if (isset($this->post()['zgvdoktor_code']))
|
||||
{
|
||||
$result = $this->ZgvdoktorModel->update($this->post()['zgvdoktor_code'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zgvgruppe extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Zgvgruppe extends APIv1_Controller
|
||||
{
|
||||
$gruppe_kurzbz = $this->get('gruppe_kurzbz');
|
||||
|
||||
if(isset($gruppe_kurzbz))
|
||||
if (isset($gruppe_kurzbz))
|
||||
{
|
||||
$result = $this->ZgvgruppeModel->load($gruppe_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Zgvgruppe extends APIv1_Controller
|
||||
*/
|
||||
public function postZgvgruppe()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['zgvgruppe_id']))
|
||||
if (isset($this->post()['zgvgruppe_id']))
|
||||
{
|
||||
$result = $this->ZgvgruppeModel->update($this->post()['zgvgruppe_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zgvmaster extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Zgvmaster extends APIv1_Controller
|
||||
{
|
||||
$zgvmas_code = $this->get('zgvmas_code');
|
||||
|
||||
if(isset($zgvmas_code))
|
||||
if (isset($zgvmas_code))
|
||||
{
|
||||
$result = $this->ZgvmasterModel->load($zgvmas_code);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Zgvmaster extends APIv1_Controller
|
||||
*/
|
||||
public function postZgvmaster()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['zgvmas_code']))
|
||||
if (isset($this->post()['zgvmas_code']))
|
||||
{
|
||||
$result = $this->ZgvmasterModel->update($this->post()['zgvmas_code'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Zweck extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Zweck extends APIv1_Controller
|
||||
{
|
||||
$zweck_code = $this->get('zweck_code');
|
||||
|
||||
if(isset($zweck_code))
|
||||
if (isset($zweck_code))
|
||||
{
|
||||
$result = $this->ZweckModel->load($zweck_code);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Zweck extends APIv1_Controller
|
||||
*/
|
||||
public function postZweck()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['zweck_code']))
|
||||
if (isset($this->post()['zweck_code']))
|
||||
{
|
||||
$result = $this->ZweckModel->update($this->post()['zweck_code'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Ampel extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Ampel extends APIv1_Controller
|
||||
{
|
||||
$ampelID = $this->get('ampel_id');
|
||||
|
||||
if(isset($ampelID))
|
||||
if (isset($ampelID))
|
||||
{
|
||||
$result = $this->AmpelModel->load($ampelID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Ampel extends APIv1_Controller
|
||||
*/
|
||||
public function postAmpel()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['ampel_id']))
|
||||
if (isset($this->post()['ampel_id']))
|
||||
{
|
||||
$result = $this->AmpelModel->update($this->post()['ampel_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Content extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Content extends APIv1_Controller
|
||||
{
|
||||
$contentID = $this->get('content_id');
|
||||
|
||||
if(isset($contentID))
|
||||
if (isset($contentID))
|
||||
{
|
||||
$result = $this->ContentModel->load($contentID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Content extends APIv1_Controller
|
||||
*/
|
||||
public function postContent()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['content_id']))
|
||||
if (isset($this->post()['content_id']))
|
||||
{
|
||||
$result = $this->ContentModel->update($this->post()['content_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Contentchild extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Contentchild extends APIv1_Controller
|
||||
{
|
||||
$contentchildID = $this->get('contentchild_id');
|
||||
|
||||
if(isset($contentchildID))
|
||||
if (isset($contentchildID))
|
||||
{
|
||||
$result = $this->ContentchildModel->load($contentchildID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Contentchild extends APIv1_Controller
|
||||
*/
|
||||
public function postContentchild()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['contentchild_id']))
|
||||
if (isset($this->post()['contentchild_id']))
|
||||
{
|
||||
$result = $this->ContentchildModel->update($this->post()['contentchild_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Contentgruppe extends APIv1_Controller
|
||||
{
|
||||
@@ -36,7 +36,7 @@ class Contentgruppe extends APIv1_Controller
|
||||
$gruppe_kurzbz = $this->get('gruppe_kurzbz');
|
||||
$content_id = $this->get('content_id');
|
||||
|
||||
if(isset($gruppe_kurzbz) && isset($content_id))
|
||||
if (isset($gruppe_kurzbz) && isset($content_id))
|
||||
{
|
||||
$result = $this->ContentgruppeModel->load(array($gruppe_kurzbz, $content_id));
|
||||
|
||||
@@ -53,9 +53,9 @@ class Contentgruppe extends APIv1_Controller
|
||||
*/
|
||||
public function postContentgruppe()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['gruppe_kurzbz']) && isset($this->post()['content_id']))
|
||||
if (isset($this->post()['gruppe_kurzbz']) && isset($this->post()['content_id']))
|
||||
{
|
||||
$result = $this->ContentgruppeModel->update(array($this->post()['gruppe_kurzbz'], $this->post()['content_id']), $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Contentlog extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Contentlog extends APIv1_Controller
|
||||
{
|
||||
$contentlogID = $this->get('contentlog_id');
|
||||
|
||||
if(isset($contentlogID))
|
||||
if (isset($contentlogID))
|
||||
{
|
||||
$result = $this->ContentlogModel->load($contentlogID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Contentlog extends APIv1_Controller
|
||||
*/
|
||||
public function postContentlog()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['contentlog_id']))
|
||||
if (isset($this->post()['contentlog_id']))
|
||||
{
|
||||
$result = $this->ContentlogModel->update($this->post()['contentlog_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Contentsprache extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Contentsprache extends APIv1_Controller
|
||||
{
|
||||
$contentspracheID = $this->get('contentsprache_id');
|
||||
|
||||
if(isset($contentspracheID))
|
||||
if (isset($contentspracheID))
|
||||
{
|
||||
$result = $this->ContentspracheModel->load($contentspracheID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Contentsprache extends APIv1_Controller
|
||||
*/
|
||||
public function postContentsprache()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['contentsprache_id']))
|
||||
if (isset($this->post()['contentsprache_id']))
|
||||
{
|
||||
$result = $this->ContentspracheModel->update($this->post()['contentsprache_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Dms extends APIv1_Controller
|
||||
{
|
||||
@@ -36,18 +36,18 @@ class Dms extends APIv1_Controller
|
||||
$dms_id = $this->get('dms_id');
|
||||
$version = $this->get('version');
|
||||
|
||||
if(isset($dms_id))
|
||||
if (isset($dms_id))
|
||||
{
|
||||
$result = $this->DmsModel->addJoin('campus.tbl_dms_version', 'dms_id');
|
||||
if($result->error == EXIT_SUCCESS)
|
||||
if ($result->error == EXIT_SUCCESS)
|
||||
{
|
||||
$result = $this->DmsModel->addOrder('version', 'DESC');
|
||||
if($result->error == EXIT_SUCCESS)
|
||||
if ($result->error == EXIT_SUCCESS)
|
||||
{
|
||||
$result = $this->DmsModel->addLimit(1);
|
||||
if($result->error == EXIT_SUCCESS)
|
||||
if ($result->error == EXIT_SUCCESS)
|
||||
{
|
||||
if(!isset($version))
|
||||
if (!isset($version))
|
||||
{
|
||||
$result = $this->DmsModel->loadWhere(array('dms_id' => $dms_id));
|
||||
}
|
||||
@@ -72,9 +72,9 @@ class Dms extends APIv1_Controller
|
||||
*/
|
||||
public function postDms()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['contentsprache_id']))
|
||||
if (isset($this->post()['contentsprache_id']))
|
||||
{
|
||||
$result = $this->ContentspracheModel->update($this->post()['contentsprache_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Infoscreen extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Infoscreen extends APIv1_Controller
|
||||
{
|
||||
$infoscreenID = $this->get('infoscreen_id');
|
||||
|
||||
if(isset($infoscreenID))
|
||||
if (isset($infoscreenID))
|
||||
{
|
||||
$result = $this->InfoscreenModel->load($infoscreenID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Infoscreen extends APIv1_Controller
|
||||
*/
|
||||
public function postInfoscreen()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['infoscreen_id']))
|
||||
if (isset($this->post()['infoscreen_id']))
|
||||
{
|
||||
$result = $this->InfoscreenModel->update($this->post()['infoscreen_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class News extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class News extends APIv1_Controller
|
||||
{
|
||||
$newsID = $this->get('news_id');
|
||||
|
||||
if(isset($newsID))
|
||||
if (isset($newsID))
|
||||
{
|
||||
$result = $this->NewsModel->load($newsID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class News extends APIv1_Controller
|
||||
*/
|
||||
public function postNews()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['news_id']))
|
||||
if (isset($this->post()['news_id']))
|
||||
{
|
||||
$result = $this->NewsModel->update($this->post()['news_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Template extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Template extends APIv1_Controller
|
||||
{
|
||||
$template_kurzbz = $this->get('template_kurzbz');
|
||||
|
||||
if(isset($template_kurzbz))
|
||||
if (isset($template_kurzbz))
|
||||
{
|
||||
$result = $this->TemplateModel->load($template_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Template extends APIv1_Controller
|
||||
*/
|
||||
public function postTemplate()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['template_kurzbz']))
|
||||
if (isset($this->post()['template_kurzbz']))
|
||||
{
|
||||
$result = $this->TemplateModel->update($this->post()['template_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Veranstaltung extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Veranstaltung extends APIv1_Controller
|
||||
{
|
||||
$veranstaltungID = $this->get('veranstaltung_id');
|
||||
|
||||
if(isset($veranstaltungID))
|
||||
if (isset($veranstaltungID))
|
||||
{
|
||||
$result = $this->VeranstaltungModel->load($veranstaltungID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Veranstaltung extends APIv1_Controller
|
||||
*/
|
||||
public function postVeranstaltung()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['veranstaltung_id']))
|
||||
if (isset($this->post()['veranstaltung_id']))
|
||||
{
|
||||
$result = $this->VeranstaltungModel->update($this->post()['veranstaltung_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Veranstaltungskategorie extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Veranstaltungskategorie extends APIv1_Controller
|
||||
{
|
||||
$veranstaltungskategorie_kurzbz = $this->get('veranstaltungskategorie_kurzbz');
|
||||
|
||||
if(isset($veranstaltungskategorie_kurzbz))
|
||||
if (isset($veranstaltungskategorie_kurzbz))
|
||||
{
|
||||
$result = $this->VeranstaltungskategorieModel->load($veranstaltungskategorie_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Veranstaltungskategorie extends APIv1_Controller
|
||||
*/
|
||||
public function postVeranstaltungskategorie()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['veranstaltungskategorie_kurzbz']))
|
||||
if (isset($this->post()['veranstaltungskategorie_kurzbz']))
|
||||
{
|
||||
$result = $this->VeranstaltungskategorieModel->update($this->post()['veranstaltungskategorie_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Akte extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Akte extends APIv1_Controller
|
||||
{
|
||||
$akteID = $this->get('akte_id');
|
||||
|
||||
if(isset($akteID))
|
||||
if (isset($akteID))
|
||||
{
|
||||
$result = $this->AkteModel->load($akteID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Akte extends APIv1_Controller
|
||||
*/
|
||||
public function postAkte()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['akte_id']))
|
||||
if (isset($this->post()['akte_id']))
|
||||
{
|
||||
$result = $this->AkteModel->update($this->post()['akte_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Aufnahmeschluessel extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Aufnahmeschluessel extends APIv1_Controller
|
||||
{
|
||||
$aufnahmeschluessel = $this->get('aufnahmeschluessel');
|
||||
|
||||
if(isset($aufnahmeschluessel))
|
||||
if (isset($aufnahmeschluessel))
|
||||
{
|
||||
$result = $this->AufnahmeschluesselModel->load($aufnahmeschluessel);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Aufnahmeschluessel extends APIv1_Controller
|
||||
*/
|
||||
public function postAufnahmeschluessel()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['aufnahmeschluessel']))
|
||||
if (isset($this->post()['aufnahmeschluessel']))
|
||||
{
|
||||
$result = $this->AufnahmeschluesselModel->update($this->post()['aufnahmeschluessel'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Aufnahmetermin extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Aufnahmetermin extends APIv1_Controller
|
||||
{
|
||||
$aufnahmeterminID = $this->get('aufnahmetermin_id');
|
||||
|
||||
if(isset($aufnahmeterminID))
|
||||
if (isset($aufnahmeterminID))
|
||||
{
|
||||
$result = $this->AufnahmeterminModel->load($aufnahmeterminID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Aufnahmetermin extends APIv1_Controller
|
||||
*/
|
||||
public function postAufnahmetermin()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['aufnahmetermin_id']))
|
||||
if (isset($this->post()['aufnahmetermin_id']))
|
||||
{
|
||||
$result = $this->AufnahmeterminModel->update($this->post()['aufnahmetermin_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Aufnahmetermintyp extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Aufnahmetermintyp extends APIv1_Controller
|
||||
{
|
||||
$aufnahmetermintyp_kurzbz = $this->get('aufnahmetermintyp_kurzbz');
|
||||
|
||||
if(isset($aufnahmetermintyp_kurzbz))
|
||||
if (isset($aufnahmetermintyp_kurzbz))
|
||||
{
|
||||
$result = $this->AufnahmetermintypModel->load($aufnahmetermintyp_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Aufnahmetermintyp extends APIv1_Controller
|
||||
*/
|
||||
public function postAufnahmetermintyp()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['aufnahmetermintyp_kurzbz']))
|
||||
if (isset($this->post()['aufnahmetermintyp_kurzbz']))
|
||||
{
|
||||
$result = $this->AufnahmetermintypModel->update($this->post()['aufnahmetermintyp_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Bewerbungstermine extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Bewerbungstermine extends APIv1_Controller
|
||||
{
|
||||
$bewerbungstermineID = $this->get('bewerbungstermine_id');
|
||||
|
||||
if(isset($bewerbungstermineID))
|
||||
if (isset($bewerbungstermineID))
|
||||
{
|
||||
$result = $this->BewerbungstermineModel->load($bewerbungstermineID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Bewerbungstermine extends APIv1_Controller
|
||||
*/
|
||||
public function postBewerbungstermine()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['bewerbungstermine_id']))
|
||||
if (isset($this->post()['bewerbungstermine_id']))
|
||||
{
|
||||
$result = $this->BewerbungstermineModel->update($this->post()['bewerbungstermine_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Buchungstyp extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Buchungstyp extends APIv1_Controller
|
||||
{
|
||||
$buchungstyp_kurzbz = $this->get('buchungstyp_kurzbz');
|
||||
|
||||
if(isset($buchungstyp_kurzbz))
|
||||
if (isset($buchungstyp_kurzbz))
|
||||
{
|
||||
$result = $this->BuchungstypModel->load($buchungstyp_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Buchungstyp extends APIv1_Controller
|
||||
*/
|
||||
public function postBuchungstyp()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['buchungstyp_kurzbz']))
|
||||
if (isset($this->post()['buchungstyp_kurzbz']))
|
||||
{
|
||||
$result = $this->BuchungstypModel->update($this->post()['buchungstyp_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Dokument extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Dokument extends APIv1_Controller
|
||||
{
|
||||
$dokument_kurzbz = $this->get('dokument_kurzbz');
|
||||
|
||||
if(isset($dokument_kurzbz))
|
||||
if (isset($dokument_kurzbz))
|
||||
{
|
||||
$result = $this->DokumentModel->load($dokument_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Dokument extends APIv1_Controller
|
||||
*/
|
||||
public function postDokument()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['dokument_kurzbz']))
|
||||
if (isset($this->post()['dokument_kurzbz']))
|
||||
{
|
||||
$result = $this->DokumentModel->update($this->post()['dokument_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Dokumentprestudent extends APIv1_Controller
|
||||
{
|
||||
@@ -36,7 +36,7 @@ class Dokumentprestudent extends APIv1_Controller
|
||||
$prestudent_id = $this->get('prestudent_id');
|
||||
$dokument_kurzbz = $this->get('dokument_kurzbz');
|
||||
|
||||
if(isset($prestudent_id) && isset($dokument_kurzbz))
|
||||
if (isset($prestudent_id) && isset($dokument_kurzbz))
|
||||
{
|
||||
$result = $this->DokumentprestudentModel->load(array($prestudent_id, $dokument_kurzbz));
|
||||
|
||||
@@ -53,9 +53,9 @@ class Dokumentprestudent extends APIv1_Controller
|
||||
*/
|
||||
public function postDokumentprestudent()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['prestudent_id']) && isset($this->post()['dokument_kurzbz']))
|
||||
if (isset($this->post()['prestudent_id']) && isset($this->post()['dokument_kurzbz']))
|
||||
{
|
||||
$result = $this->DokumentprestudentModel->update(array($this->post()['prestudent_id'], $this->post()['dokument_kurzbz']), $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Dokumentstudiengang extends APIv1_Controller
|
||||
{
|
||||
@@ -36,7 +36,7 @@ class Dokumentstudiengang extends APIv1_Controller
|
||||
$studiengang_kz = $this->get('studiengang_kz');
|
||||
$dokument_kurzbz = $this->get('dokument_kurzbz');
|
||||
|
||||
if(isset($studiengang_kz) && isset($dokument_kurzbz))
|
||||
if (isset($studiengang_kz) && isset($dokument_kurzbz))
|
||||
{
|
||||
$result = $this->DokumentstudiengangModel->load(array($studiengang_kz, $dokument_kurzbz));
|
||||
|
||||
@@ -53,9 +53,9 @@ class Dokumentstudiengang extends APIv1_Controller
|
||||
*/
|
||||
public function postDokumentstudiengang()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['studiengang_kz']) && isset($this->post()['dokument_kurzbz']))
|
||||
if (isset($this->post()['studiengang_kz']) && isset($this->post()['dokument_kurzbz']))
|
||||
{
|
||||
$result = $this->DokumentstudiengangModel->update(array($this->post()['studiengang_kz'], $this->post()['dokument_kurzbz']), $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Konto extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Konto extends APIv1_Controller
|
||||
{
|
||||
$buchungsnr = $this->get('buchungsnr');
|
||||
|
||||
if(isset($buchungsnr))
|
||||
if (isset($buchungsnr))
|
||||
{
|
||||
$result = $this->KontoModel->load($buchungsnr);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Konto extends APIv1_Controller
|
||||
*/
|
||||
public function postKonto()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['buchungsnr']))
|
||||
if (isset($this->post()['buchungsnr']))
|
||||
{
|
||||
$result = $this->KontoModel->update($this->post()['buchungsnr'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Preincoming extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Preincoming extends APIv1_Controller
|
||||
{
|
||||
$preincomingID = $this->get('preincoming_id');
|
||||
|
||||
if(isset($preincomingID))
|
||||
if (isset($preincomingID))
|
||||
{
|
||||
$result = $this->PreincomingModel->load($preincomingID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Preincoming extends APIv1_Controller
|
||||
*/
|
||||
public function postPreincoming()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['preincoming_id']))
|
||||
if (isset($this->post()['preincoming_id']))
|
||||
{
|
||||
$result = $this->PreincomingModel->update($this->post()['preincoming_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Preinteressent extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Preinteressent extends APIv1_Controller
|
||||
{
|
||||
$preinteressent_id = $this->get('preinteressent_id');
|
||||
|
||||
if(isset($preinteressent_id))
|
||||
if (isset($preinteressent_id))
|
||||
{
|
||||
$result = $this->PreinteressentModel->load($preinteressent_id);
|
||||
|
||||
@@ -54,7 +54,7 @@ class Preinteressent extends APIv1_Controller
|
||||
{
|
||||
$person_id = $this->get('person_id');
|
||||
|
||||
if(isset($person_id))
|
||||
if (isset($person_id))
|
||||
{
|
||||
$result = $this->PreinteressentModel->load(array('person_id' => $person_id));
|
||||
|
||||
@@ -71,9 +71,9 @@ class Preinteressent extends APIv1_Controller
|
||||
*/
|
||||
public function postPreinteressent()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['preinteressent_id']))
|
||||
if (isset($this->post()['preinteressent_id']))
|
||||
{
|
||||
$result = $this->PreinteressentModel->update($this->post()['preinteressent_id'], $this->post());
|
||||
}
|
||||
@@ -92,13 +92,13 @@ class Preinteressent extends APIv1_Controller
|
||||
|
||||
private function _validate($preinteressent)
|
||||
{
|
||||
if($preinteressent['person_id'] == '')
|
||||
if ($preinteressent['person_id'] == '')
|
||||
{
|
||||
//$this->errormsg = 'Person_id muss angegeben werden';
|
||||
return false;
|
||||
}
|
||||
|
||||
if($preinteressent['aufmerksamdurch_kurzbz'] == '')
|
||||
if ($preinteressent['aufmerksamdurch_kurzbz'] == '')
|
||||
{
|
||||
//$this->errormsg = 'Aufmerksamdurch muss angegeben werden';
|
||||
return false;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Preinteressentstudiengang extends APIv1_Controller
|
||||
{
|
||||
@@ -36,7 +36,7 @@ class Preinteressentstudiengang extends APIv1_Controller
|
||||
$preinteressent_id = $this->get('preinteressent_id');
|
||||
$studiengang_kz = $this->get('studiengang_kz');
|
||||
|
||||
if(isset($preinteressent_id) && isset($studiengang_kz))
|
||||
if (isset($preinteressent_id) && isset($studiengang_kz))
|
||||
{
|
||||
$result = $this->PreinteressentstudiengangModel->load(array($preinteressent_id, $studiengang_kz));
|
||||
|
||||
@@ -53,9 +53,9 @@ class Preinteressentstudiengang extends APIv1_Controller
|
||||
*/
|
||||
public function postPreinteressentstudiengang()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['preinteressent_id']) && isset($this->post()['studiengang_kz']))
|
||||
if (isset($this->post()['preinteressent_id']) && isset($this->post()['studiengang_kz']))
|
||||
{
|
||||
$result = $this->PreinteressentstudiengangModel->update(array($this->post()['preinteressent_id'], $this->post()['studiengang_kz']), $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Preoutgoing extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Preoutgoing extends APIv1_Controller
|
||||
{
|
||||
$preoutgoingID = $this->get('preoutgoing_id');
|
||||
|
||||
if(isset($preoutgoingID))
|
||||
if (isset($preoutgoingID))
|
||||
{
|
||||
$result = $this->PreoutgoingModel->load($preoutgoingID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Preoutgoing extends APIv1_Controller
|
||||
*/
|
||||
public function postPreoutgoing()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['preoutgoing_id']))
|
||||
if (isset($this->post()['preoutgoing_id']))
|
||||
{
|
||||
$result = $this->PreoutgoingModel->update($this->post()['preoutgoing_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Prestudent extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Prestudent extends APIv1_Controller
|
||||
{
|
||||
$prestudentID = $this->get('prestudent_id');
|
||||
|
||||
if(isset($prestudentID))
|
||||
if (isset($prestudentID))
|
||||
{
|
||||
$result = $this->PrestudentModel->load($prestudentID);
|
||||
|
||||
@@ -46,15 +46,34 @@ class Prestudent extends APIv1_Controller
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getPrestudentByPersonID()
|
||||
{
|
||||
$person_id = $this->get('person_id');
|
||||
|
||||
if (isset($person_id))
|
||||
{
|
||||
$result = $this->PrestudentModel->load(array('person_id' => $person_id));
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function postPrestudent()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['prestudent_id']))
|
||||
if (isset($this->post()['prestudent_id']))
|
||||
{
|
||||
$result = $this->PrestudentModel->update($this->post()['prestudent_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Prestudentstatus extends APIv1_Controller
|
||||
{
|
||||
@@ -38,7 +38,7 @@ class Prestudentstatus extends APIv1_Controller
|
||||
$status_kurzbz = $this->get('status_kurzbz');
|
||||
$prestudent_id = $this->get('prestudent_id');
|
||||
|
||||
if(isset($ausbildungssemester) && isset($studiensemester_kurzbz) && isset($status_kurzbz) && isset($prestudent_id))
|
||||
if (isset($ausbildungssemester) && isset($studiensemester_kurzbz) && isset($status_kurzbz) && isset($prestudent_id))
|
||||
{
|
||||
$result = $this->PrestudentstatusModel->load(array($ausbildungssemester, $studiensemester_kurzbz, $status_kurzbz, $prestudent_id));
|
||||
|
||||
@@ -55,9 +55,9 @@ class Prestudentstatus extends APIv1_Controller
|
||||
*/
|
||||
public function postPrestudentstatus()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['ausbildungssemester']) && isset($this->post()['studiensemester_kurzbz']) &&
|
||||
if (isset($this->post()['ausbildungssemester']) && isset($this->post()['studiensemester_kurzbz']) &&
|
||||
isset($this->post()['status_kurzbz']) && isset($this->post()['prestudent_id']))
|
||||
{
|
||||
$pksArray = array($this->post()['ausbildungssemester'],
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Reihungstest extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Reihungstest extends APIv1_Controller
|
||||
{
|
||||
$reihungstestID = $this->get('reihungstest_id');
|
||||
|
||||
if(isset($reihungstestID))
|
||||
if (isset($reihungstestID))
|
||||
{
|
||||
$result = $this->ReihungstestModel->load($reihungstestID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Reihungstest extends APIv1_Controller
|
||||
*/
|
||||
public function postReihungstest()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['reihungstest_id']))
|
||||
if (isset($this->post()['reihungstest_id']))
|
||||
{
|
||||
$result = $this->ReihungstestModel->update($this->post()['reihungstest_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Status extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Status extends APIv1_Controller
|
||||
{
|
||||
$status_kurzbz = $this->get('status_kurzbz');
|
||||
|
||||
if(isset($status_kurzbz))
|
||||
if (isset($status_kurzbz))
|
||||
{
|
||||
$result = $this->StatusModel->load($status_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Status extends APIv1_Controller
|
||||
*/
|
||||
public function postStatus()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['status_kurzbz']))
|
||||
if (isset($this->post()['status_kurzbz']))
|
||||
{
|
||||
$result = $this->StatusModel->update($this->post()['status_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Student extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Student extends APIv1_Controller
|
||||
{
|
||||
$studentID = $this->get('student_id');
|
||||
|
||||
if(isset($studentID))
|
||||
if (isset($studentID))
|
||||
{
|
||||
$result = $this->StudentModel->load($studentID);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Student extends APIv1_Controller
|
||||
*/
|
||||
public function postStudent()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['student_id']))
|
||||
if (isset($this->post()['student_id']))
|
||||
{
|
||||
$result = $this->StudentModel->update($this->post()['student_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Abgabe extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Abgabe extends APIv1_Controller
|
||||
{
|
||||
$abgabe_id = $this->get('abgabe_id');
|
||||
|
||||
if(isset($abgabe_id))
|
||||
if (isset($abgabe_id))
|
||||
{
|
||||
$result = $this->AbgabeModel->load($abgabe_id);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Abgabe extends APIv1_Controller
|
||||
*/
|
||||
public function postAbgabe()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['abgabe_id']))
|
||||
if (isset($this->post()['abgabe_id']))
|
||||
{
|
||||
$result = $this->AbgabeModel->update($this->post()['abgabe_id'], $this->post());
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if(!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Abschlussbeurteilung extends APIv1_Controller
|
||||
{
|
||||
@@ -35,7 +35,7 @@ class Abschlussbeurteilung extends APIv1_Controller
|
||||
{
|
||||
$abschlussbeurteilung_kurzbz = $this->get('abschlussbeurteilung_kurzbz');
|
||||
|
||||
if(isset($abschlussbeurteilung_kurzbz))
|
||||
if (isset($abschlussbeurteilung_kurzbz))
|
||||
{
|
||||
$result = $this->AbschlussbeurteilungModel->load($abschlussbeurteilung_kurzbz);
|
||||
|
||||
@@ -52,9 +52,9 @@ class Abschlussbeurteilung extends APIv1_Controller
|
||||
*/
|
||||
public function postAbschlussbeurteilung()
|
||||
{
|
||||
if($this->_validate($this->post()))
|
||||
if ($this->_validate($this->post()))
|
||||
{
|
||||
if(isset($this->post()['$abschlussbeurteilung_kurzbz']))
|
||||
if (isset($this->post()['$abschlussbeurteilung_kurzbz']))
|
||||
{
|
||||
$result = $this->AbschlussbeurteilungModel->update($this->post()['$abschlussbeurteilung_kurzbz'], $this->post());
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user