ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Class ilGroupNameAsMailValidator. More...
Public Member Functions | |
__construct (string $host, callable $groupNameCheckCallable=null) | |
validate (ilMailAddress $address) | |
Validates if the given address contains a valid group name to send an email. More... | |
Protected Attributes | |
string | $host |
$groupNameCheckCallable | |
Private Member Functions | |
isHostValid (string $host) | |
Class ilGroupNameAsMailValidator.
Definition at line 26 of file class.ilGroupNameAsMailValidator.php.
ilGroupNameAsMailValidator::__construct | ( | string | $host, |
callable | $groupNameCheckCallable = null |
||
) |
Definition at line 33 of file class.ilGroupNameAsMailValidator.php.
References $groupNameCheckCallable, $host, and ilUtil\groupNameExists().
|
private |
Definition at line 57 of file class.ilGroupNameAsMailValidator.php.
Referenced by validate().
ilGroupNameAsMailValidator::validate | ( | ilMailAddress | $address | ) |
Validates if the given address contains a valid group name to send an email.
Definition at line 49 of file class.ilGroupNameAsMailValidator.php.
References $groupNameCheckCallable, ilMailAddress\getHost(), ilMailAddress\getMailbox(), and isHostValid().
|
protected |
Definition at line 30 of file class.ilGroupNameAsMailValidator.php.
Referenced by __construct(), and validate().
|
protected |
Definition at line 28 of file class.ilGroupNameAsMailValidator.php.
Referenced by __construct().