core/modules/GestionModule.php 1 location
|
@@ 112-116 (lines=5) @@
|
109 |
|
|
110 |
|
$query = $dbc->select("ID_module")->from("module")->where("url", "=", $url)->get(); |
111 |
|
|
112 |
|
if ((is_array($query)) && (count($query) > 0)) { |
113 |
|
foreach ($query as $obj) { |
114 |
|
return $obj->ID_module; |
115 |
|
} |
116 |
|
} |
117 |
|
} |
118 |
|
|
119 |
|
|
core/admin/Admin.php 1 location
|
@@ 98-102 (lines=5) @@
|
95 |
|
|
96 |
|
$query = $dbc->select("admin")->from("notification")->get(); |
97 |
|
|
98 |
|
if ((is_array($query)) && (count($query) > 0)) { |
99 |
|
foreach ($query as $obj) { |
100 |
|
return $obj->admin; |
101 |
|
} |
102 |
|
} |
103 |
|
} |
104 |
|
//-------------------------- FIN GETTER ----------------------------------------------------------------------------// |
105 |
|
|
core/auth/Connexion.php 1 location
|
@@ 183-185 (lines=3) @@
|
180 |
|
public static function getlastConnexion($id_identite) { |
181 |
|
$dbc = App::getDb(); |
182 |
|
$query = $dbc->select("last_change_mdp")->from("identite")->where("ID_identite", "=", $id_identite)->get(); |
183 |
|
if ((is_array($query)) && (count($query) > 0)) { |
184 |
|
foreach ($query as $obj) { |
185 |
|
return $obj->last_change_mdp; |
186 |
|
} |
187 |
|
} |
188 |
|
} |