41 lines
422 B
PHP
Executable File
41 lines
422 B
PHP
Executable File
<?php
|
|
|
|
namespace manager\module;
|
|
|
|
class userDefaultModule{
|
|
|
|
|
|
public static function getAll(){
|
|
return array(
|
|
'users' => \manager\Database::getPDO()->query("SELECT * FROM user ORDER BY id_user")->fetchAll()
|
|
);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static function returnvar($var){
|
|
var_dump('return var'); return $var;
|
|
}
|
|
|
|
|
|
public static function printvar($var){
|
|
var_dump('var = '); var_dump($var);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
?>
|