SMMP/manager/module/groupDefault.php

21 lines
269 B
PHP

<?php
namespace manager\module;
class groupDefault{
public static function getAll(){
return array(
'groups' => \manager\Database::delNumeric( \manager\Database::getPDO()->query("SELECT * FROM group ORDER BY id_group")->fetchAll() )
);
}
}
?>