ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
__construct (int $global_idle_time_interval, private bool $auto_responder_status, private readonly AutoresponderRepository $auto_responder_repository, private readonly ClockInterface $clock, ?callable $mail_action=null) | |
isAutoresponderEnabled () | |
enableAutoresponder () | |
disableAutoresponder () | |
handleAutoresponderMails (int $auto_responder_receiver_usr_id) | |
enqueueAutoresponderIfEnabled (int $sender_id, ilMailOptions $mail_receiver_options, ilMailOptions $mail_sender_options) | |
emptyAutoresponderData () | |
Protected Attributes | |
array | $auto_responder_data = [] |
Private Member Functions | |
normalizeDateTimezone (DateTimeImmutable $date_time) | |
shouldSendAutoresponder (AutoresponderDto $auto_responder) | |
Private Attributes | |
$mail_action | |
readonly DateInterval | $idle_time_interval |
Additional Inherited Members | |
![]() | |
const int | AUTO_RESPONDER_DEFAULT_IDLE_TIME = 3 |
Definition at line 29 of file AutoresponderServiceImpl.php.
ILIAS\Mail\Autoresponder\AutoresponderServiceImpl::__construct | ( | int | $global_idle_time_interval, |
private bool | $auto_responder_status, | ||
private readonly AutoresponderRepository | $auto_responder_repository, | ||
private readonly ClockInterface | $clock, | ||
?callable | $mail_action = null |
||
) |
callable(int,ilMailOptions,DateTimeImmutable) | void|null $mail_action |
Definition at line 41 of file AutoresponderServiceImpl.php.
References ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\$mail_action.
ILIAS\Mail\Autoresponder\AutoresponderServiceImpl::disableAutoresponder | ( | ) |
Implements ILIAS\Mail\Autoresponder\AutoresponderService.
Definition at line 62 of file AutoresponderServiceImpl.php.
ILIAS\Mail\Autoresponder\AutoresponderServiceImpl::emptyAutoresponderData | ( | ) |
Implements ILIAS\Mail\Autoresponder\AutoresponderService.
Definition at line 143 of file AutoresponderServiceImpl.php.
ILIAS\Mail\Autoresponder\AutoresponderServiceImpl::enableAutoresponder | ( | ) |
Implements ILIAS\Mail\Autoresponder\AutoresponderService.
Definition at line 57 of file AutoresponderServiceImpl.php.
ILIAS\Mail\Autoresponder\AutoresponderServiceImpl::enqueueAutoresponderIfEnabled | ( | int | $sender_id, |
ilMailOptions | $mail_receiver_options, | ||
ilMailOptions | $mail_sender_options | ||
) |
Implements ILIAS\Mail\Autoresponder\AutoresponderService.
Definition at line 133 of file AutoresponderServiceImpl.php.
References ilMailOptions\isAbsent().
ILIAS\Mail\Autoresponder\AutoresponderServiceImpl::handleAutoresponderMails | ( | int | $auto_responder_receiver_usr_id | ) |
Implements ILIAS\Mail\Autoresponder\AutoresponderService.
Definition at line 67 of file AutoresponderServiceImpl.php.
References ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\$mail_action, ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\normalizeDateTimezone(), null, ILIAS\Mail\Autoresponder\AutoresponderNotification\send(), ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\shouldSendAutoresponder(), ILIAS\UI\examples\Menu\Sub\sub(), and ILIAS\Mail\Autoresponder\AutoresponderDto\withSentTime().
ILIAS\Mail\Autoresponder\AutoresponderServiceImpl::isAutoresponderEnabled | ( | ) |
Implements ILIAS\Mail\Autoresponder\AutoresponderService.
Definition at line 52 of file AutoresponderServiceImpl.php.
|
private |
Definition at line 115 of file AutoresponderServiceImpl.php.
Referenced by ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\handleAutoresponderMails(), and ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\shouldSendAutoresponder().
|
private |
Definition at line 120 of file AutoresponderServiceImpl.php.
References ILIAS\UI\examples\Symbol\Glyph\Add\add(), ILIAS\Mail\Autoresponder\AutoresponderDto\getSentTime(), and ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\normalizeDateTimezone().
Referenced by ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\handleAutoresponderMails().
|
protected |
Definition at line 36 of file AutoresponderServiceImpl.php.
|
private |
Definition at line 33 of file AutoresponderServiceImpl.php.
|
private |
Definition at line 32 of file AutoresponderServiceImpl.php.
Referenced by ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\__construct(), and ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\handleAutoresponderMails().