mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
filterPerson unrulyPerson api & person model
This commit is contained in:
@@ -387,6 +387,15 @@ class Person_model extends DB_Model
|
||||
return $this->execQuery($qry, [$vorname, $nachname, $gebdatum]);
|
||||
}
|
||||
|
||||
public function checkUnrulyWhere($where, $paramsArray)
|
||||
{
|
||||
$qry = 'SELECT *
|
||||
FROM tbl_person p
|
||||
WHERE '.$where.';';
|
||||
|
||||
return $this->execQuery($qry, $paramsArray);
|
||||
}
|
||||
|
||||
public function updateUnruly($person_id, $unruly)
|
||||
{
|
||||
$result = $this->update($person_id, array(
|
||||
|
||||
Reference in New Issue
Block a user