|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ilGroupNameAsMailValidator:Public Member Functions | |
| __construct (protected string $host, ?callable $group_name_check_callable=null) | |
| validate (ilMailAddress $address) | |
| Validates if the given address contains a valid group name to send an email. More... | |
Protected Attributes | |
| $group_name_check_callable | |
Private Member Functions | |
| isHostValid (string $host) | |
Definition at line 21 of file class.ilGroupNameAsMailValidator.php.
| ilGroupNameAsMailValidator::__construct | ( | protected string | $host, |
| ?callable | $group_name_check_callable = null |
||
| ) |
| callable(string) | bool|null $group_name_check_callable |
Definition at line 29 of file class.ilGroupNameAsMailValidator.php.
References $group_name_check_callable, and ilUtil\groupNameExists().
Here is the call graph for this function:
|
private |
Definition at line 45 of file class.ilGroupNameAsMailValidator.php.
Referenced by validate().
Here is the caller graph for this function:| ilGroupNameAsMailValidator::validate | ( | ilMailAddress | $address | ) |
Validates if the given address contains a valid group name to send an email.
Definition at line 37 of file class.ilGroupNameAsMailValidator.php.
References $group_name_check_callable, ilMailAddress\getHost(), ilMailAddress\getMailbox(), and isHostValid().
Here is the call graph for this function:
|
protected |
Definition at line 24 of file class.ilGroupNameAsMailValidator.php.
Referenced by __construct(), and validate().