19 declare(strict_types=1);
30 ?
int $anonymous_usr_id =
null 32 if ($anonymous_usr_id ===
null && defined(
'ANONYMOUS_USER_ID')) {
35 if ($anonymous_usr_id ===
null) {
49 if (array_key_exists($usr_id, $this->senders)) {
50 return $this->senders[$usr_id];
56 $sender = $this->
user($usr_id);
59 $this->senders[$usr_id] = $sender;
__construct(protected ilSetting $settings, protected ilMustacheFactory $mustache_factory, ?int $anonymous_usr_id=null)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
userByEmailAddress(string $email_address)
getSenderByUsrId(int $usr_id)
isSystemMail(int $usr_id)