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);
if(php_sapi_name() !='cli') $in
An exception for terminatinating execution or to throw for unit testing.
@classDescription Date and time handling
Class ilObjTermsOfService.
setReevaluateOnLogin(bool $status)
__construct($a_id=0, $a_reference=true)
shouldReevaluateOnLogin()
Class ilObject2 This is an intermediate progress of ilObject class.
const SYSTEM_USER_ID
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc