- Renamed classes, methods and properties names in german

- All the controllers exends APIv1_Controller rather than REST_Controller
 - Codeceptions modified to be compliant to changes
This commit is contained in:
paolo
2016-04-25 15:57:52 +02:00
parent ecff3747d0
commit a3a9c42e99
24 changed files with 220 additions and 230 deletions
+4 -7
View File
@@ -14,7 +14,7 @@
if(!defined('BASEPATH')) exit('No direct script access allowed');
class Nation extends REST_Controller
class Nation extends APIv1_Controller
{
/**
* Course API constructor.
@@ -30,10 +30,7 @@ class Nation extends REST_Controller
public function getAll()
{
$notLocked = $this->get('ohnesperre');
$orderEnglish = $this->get('orderEnglish');
$result = $this->NationModel->getAll($notLocked, $orderEnglish);
$result = $this->NationModel->getAll($this->get('ohnesperre'), $this->get('orderEnglish'));
if(is_object($result))
{
@@ -56,9 +53,9 @@ class Nation extends REST_Controller
$this->response($payload, $httpstatus);
}
public function getFederalState()
public function getBundesland()
{
$result = $this->NationModel->getFederalState();
$result = $this->NationModel->getBundesland();
if(is_object($result))
{