Added new Logging System for Persons

Added a Wrapper to call CI functions from outside Codeigniter
This commit is contained in:
Andreas Österreicher
2017-11-24 18:45:51 +01:00
parent d3d4e01afc
commit 5b54217733
8 changed files with 213 additions and 36 deletions
+6
View File
@@ -1079,4 +1079,10 @@ function cutString($string, $limit, $placeholderSign = '', $keepFilextension = f
return $string;
}
}
function PersonLog($ci, $person_id, $logtype_kurzbz, $logdata, $app, $oe_kurzbz = null, $user=null)
{
$ci->load->library('PersonLogLib');
$ci->personloglib->log($person_id, $logtype_kurzbz, $logdata, $app, $oe_kurzbz, $user);
}
?>