2016-02-04 22:45:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace manager\module;
|
|
|
|
|
|
|
|
class userDefaultModule{
|
|
|
|
|
|
|
|
|
|
|
|
public static function getAll(){
|
2016-02-04 23:07:03 +00:00
|
|
|
return array(
|
|
|
|
'users' => \manager\Database::getPDO()->query("SELECT * FROM user ORDER BY id_user")->fetchAll()
|
|
|
|
);
|
2016-02-04 22:45:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static function returnvar($var){
|
|
|
|
var_dump('return var'); return $var;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static function printvar($var){
|
|
|
|
var_dump('var = '); var_dump($var);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
?>
|