mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 00:46:27 +02:00
Update methods names
This commit is contained in:
parent
37b2a93323
commit
1865072b73
26 changed files with 88 additions and 101 deletions
|
@ -24,7 +24,7 @@ namespace models;
|
|||
*
|
||||
* @return array : L'entrée
|
||||
*/
|
||||
public function get_by_id($id)
|
||||
public function get($id)
|
||||
{
|
||||
$commands = $this->_select('command', ['id' => $id]);
|
||||
|
||||
|
@ -49,7 +49,7 @@ namespace models;
|
|||
*
|
||||
* @return array : La liste des entrées
|
||||
*/
|
||||
public function get_by_ids($ids)
|
||||
public function gets($ids)
|
||||
{
|
||||
$query = '
|
||||
SELECT * FROM command
|
||||
|
@ -70,7 +70,7 @@ namespace models;
|
|||
*
|
||||
* @return int : Le nombre de lignes supprimées
|
||||
*/
|
||||
public function delete_by_id($id)
|
||||
public function delete($id)
|
||||
{
|
||||
$query = '
|
||||
DELETE FROM command
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue