Gitiles
Code Review
Sign In
gerrit.avm99963.com
/
delefme-covid-tracability
/
backend
/
dbd9a12a1181453c3a99d24b71844b1bc091fe5b
/
.
/
inc
/
Subjects.php
blob: 4d2cfdb912a81eafb6348c144a754e5969dc1c25 [
file
] [
log
] [
blame
]
<?
php
namespace
DAFME\Covid
;
class
Subjects
{
public
static
function
getAll
()
{
global
$con
;
$query
=
$con
->
prepare
(
'SELECT * FROM subjects'
);
if
(!
$query
->
execute
())
return
false
;
return
$query
->
fetchAll
(
\PDO
::
FETCH_ASSOC
);
}
}