|
ILIAS
release_8 Revision v8.24
|
Class ilGroupNameAsMailValidator. More...
Collaboration diagram for ilGroupNameAsMailValidator: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().
Here is the call graph for this function:
|
private |
Definition at line 57 of file class.ilGroupNameAsMailValidator.php.
References $host.
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 49 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 30 of file class.ilGroupNameAsMailValidator.php.
Referenced by __construct(), and validate().
|
protected |
Definition at line 28 of file class.ilGroupNameAsMailValidator.php.
Referenced by __construct(), and isHostValid().