1 <?php declare(strict_types=1);
26 $this->db = $DIC[
'ilDB'];
44 $this->db->manipulate(
"UPDATE usr_data SET agree_date = NULL WHERE $in");
46 $this->
settings->set(
'tos_last_reset', time());
63 $this->
settings->set(
'tos_status', (
int) $status);
71 return (
bool) $this->
settings->get(
'tos_status',
false);
79 $this->
settings->set(
'tos_reevaluate_on_login', (
int) $status);
87 return (
bool) $this->
settings->get(
'tos_reevaluate_on_login',
false);
__construct($a_id=0, $a_reference=true)
setReevaluateOnLogin(bool $status)
const SYSTEM_USER_ID
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
shouldReevaluateOnLogin()
if(php_sapi_name() !='cli') $in
__construct(Container $dic, ilPlugin $plugin)
Class ilObjTermsOfService.