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

@ -39,6 +39,17 @@ namespace controllers\internals;
return $this->model_command->list($nb_entry, $nb_entry * $page);
}
/**
* Get all commands.
*
* @return array
*/
public function get_all()
{
//Recupération des commandes
return $this->model_command->get_all();
}
/**
* Cette fonction retourne une liste des commandes sous forme d'un tableau.
*