|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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 | |
| $host | |
| $groupNameCheckCallable | |
Private Member Functions | |
| isHostValid (string $host) | |
| Checks if the given host is valid in the email context. More... | |
Class ilGroupNameAsMailValidator.
Definition at line 9 of file class.ilGroupNameAsMailValidator.php.
| ilGroupNameAsMailValidator::__construct | ( | string | $host, |
| callable | $groupNameCheckCallable = null |
||
| ) |
| string | $host | |
| callable | null | $groupNameCheckCallable |
Definition at line 21 of file class.ilGroupNameAsMailValidator.php.
References $groupNameCheckCallable, $host, and ilUtil\groupNameExists().
Here is the call graph for this function:
|
private |
Checks if the given host is valid in the email context.
| string | $host |
Definition at line 56 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.
| ilMailAddress | $address |
Definition at line 39 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 15 of file class.ilGroupNameAsMailValidator.php.
Referenced by __construct(), and validate().
|
protected |
Definition at line 12 of file class.ilGroupNameAsMailValidator.php.
Referenced by __construct(), and isHostValid().