mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-10 08:39:28 +00:00
Created infocenter details page showing Person Stammdaten, Dokumente, Prestudent ZGVs, Logs and Notizen.
This commit is contained in:
@@ -250,6 +250,10 @@ class DmsLib
|
||||
{
|
||||
return success(base64_decode($dmscontent->retval[0]->file_content));
|
||||
}
|
||||
else
|
||||
{
|
||||
return error($dmscontent->retval);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -44,4 +44,20 @@ class PersonLogLib
|
||||
else
|
||||
show_error($result->retval);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets Logs for a Person, filtered by Parameters
|
||||
* @param int $person_id ID of the Person.
|
||||
* @param string $app Name of the App.
|
||||
* @param string $oe_kurzbz Organisations Unit.
|
||||
* @return object $result
|
||||
*/
|
||||
public function getLogs($person_id, $app = null, $oe_kurzbz = null)
|
||||
{
|
||||
$result = $this->ci->PersonLogModel->filterLog($person_id, $app, $oe_kurzbz);
|
||||
if (isSuccess($result))
|
||||
return $result->retval;
|
||||
else
|
||||
show_error($result->retval);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user