mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Update methods names
This commit is contained in:
parent
37b2a93323
commit
1865072b73
26 changed files with 88 additions and 101 deletions
|
@ -33,10 +33,10 @@ namespace controllers\internals;
|
|||
*
|
||||
* @return array : La liste des events
|
||||
*/
|
||||
public function get_list($nb_entry = false, $page = false)
|
||||
public function list($nb_entry = false, $page = false)
|
||||
{
|
||||
//Recupération des events
|
||||
return $this->model_event->get_list($nb_entry, $nb_entry * $page);
|
||||
return $this->model_event->list($nb_entry, $nb_entry * $page);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -61,7 +61,7 @@ namespace controllers\internals;
|
|||
*/
|
||||
public function delete($id)
|
||||
{
|
||||
return $this->model_event->delete_by_id($id);
|
||||
return $this->model_event->delete($id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue