ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($host) | |
validate (\ilMailAddress $address) | |
Validates if the given address contains a valid group name to send an email. More... | |
Private Member Functions | |
isHostValid ($host) | |
Checks if the given host is valid in the email context. More... | |
Private Attributes | |
$host | |
Definition at line 4 of file class.ilGroupNameAsMailValidator.php.
ilGroupNameAsMailValidator::__construct | ( | $host | ) |
string | $host |
Definition at line 12 of file class.ilGroupNameAsMailValidator.php.
References $host.
|
private |
Checks if the given host is valid in the email context.
string | $host |
Definition at line 38 of file class.ilGroupNameAsMailValidator.php.
References $host.
Referenced by validate().
ilGroupNameAsMailValidator::validate | ( | \ilMailAddress | $address | ) |
Validates if the given address contains a valid group name to send an email.
ilMailAddress | $address |
Definition at line 22 of file class.ilGroupNameAsMailValidator.php.
References ilMailAddress\getHost(), ilMailAddress\getMailbox(), ilUtil\groupNameExists(), and isHostValid().
|
private |
Definition at line 7 of file class.ilGroupNameAsMailValidator.php.
Referenced by __construct(), and isHostValid().