mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 14: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
|
@ -46,7 +46,7 @@ namespace controllers\publics;
|
|||
public function list($page = 0)
|
||||
{
|
||||
$page = (int) $page;
|
||||
$groups = $this->internal_group->get_list(25, $page);
|
||||
$groups = $this->internal_group->list(25, $page);
|
||||
|
||||
foreach ($groups as $key => $group)
|
||||
{
|
||||
|
@ -100,7 +100,7 @@ namespace controllers\publics;
|
|||
{
|
||||
$ids = $_GET['ids'] ?? [];
|
||||
|
||||
$groups = $this->internal_group->get_by_ids($ids);
|
||||
$groups = $this->internal_group->gets($ids);
|
||||
|
||||
foreach ($groups as $key => $group)
|
||||
{
|
||||
|
@ -195,6 +195,6 @@ namespace controllers\publics;
|
|||
public function json_list()
|
||||
{
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($this->internal_group->get_list());
|
||||
echo json_encode($this->internal_group->list());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue