Add transfer controller and model, remove database model and transfer responsabilities

This commit is contained in:
osaajani 2019-11-07 16:17:18 +01:00
parent bda1c7ddfd
commit c6050f06aa
20 changed files with 465 additions and 219 deletions

View file

@ -24,6 +24,16 @@ namespace controllers\internals;
$this->model_sms_stop = new \models\SmsStop($bdd);
}
/**
* Return all smsstops.
*
* @return array
*/
public function get_all()
{
return $this->model_sms_stop->get_all();
}
/**
* Cette fonction retourne une liste des smsstopes sous forme d'un tableau.
*