mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
Codesniffer compliant: if, for and while
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user