mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Add transfer controller and model, remove database model and transfer responsabilities
This commit is contained in:
parent
bda1c7ddfd
commit
c6050f06aa
20 changed files with 465 additions and 219 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue