|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Class ilGroupNameAsMailValidator. More...
Collaboration diagram for ilGroupNameAsMailValidator:Public Member Functions | |
| __construct (protected 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 | |
| $groupNameCheckCallable | |
Private Member Functions | |
| isHostValid (string $host) | |
Class ilGroupNameAsMailValidator.
Definition at line 26 of file class.ilGroupNameAsMailValidator.php.
| ilGroupNameAsMailValidator::__construct | ( | protected string | $host, |
| callable | $groupNameCheckCallable = null |
||
| ) |
Definition at line 31 of file class.ilGroupNameAsMailValidator.php.
References $groupNameCheckCallable, and ilUtil\groupNameExists().
Here is the call graph for this function:
|
private |
Definition at line 53 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 45 of file class.ilGroupNameAsMailValidator.php.
References $groupNameCheckCallable, ilMailAddress\getHost(), ilMailAddress\getMailbox(), and isHostValid().
Here is the call graph for this function:
|
protected |
Definition at line 29 of file class.ilGroupNameAsMailValidator.php.
Referenced by __construct(), and validate().