19declare(strict_types=1);
48 $addresses = $this->origin->value();
50 $filteredAddresses = array_filter($addresses,
function (
ilMailAddress $address):
bool {
52 if (
$c((
string) $address)) {
57 if ($address->getHost() === $this->installationHost) {
61 if (strpos($address->getMailbox(),
'#') === 0) {
68 return $filteredAddresses;
Class ilMailOnlyExternalAddressList.
ilMailAddressList $origin
__construct(ilMailAddressList $origin, string $installationHost, callable $getUsrIdByLoginCallable)
if(!file_exists(getcwd() . '/ilias.ini.php'))
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface ilMailAddressList.