SMMP/manager/module/machineDefaultModule.php

21 lines
283 B
PHP

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