|
ILIAS
release_8 Revision v8.24
|
Class ilBaseMailAddressType. More...
Inheritance diagram for ilBaseMailAddressType:
Collaboration diagram for ilBaseMailAddressType:Public Member Functions | |
| __construct (ilMailAddressTypeHelper $typeHelper, ilMailAddress $address, ilLogger $logger) | |
| validate (int $senderId) | |
| Validates the parsed recipients and set errors accordingly. More... | |
| getErrors () | |
| Returns a list of errors determined in the validation process. More... | |
| getAddress () | |
| The address instance used for validation and user id lookup. More... | |
Public Member Functions inherited from ilMailAddressType | |
| resolve () | |
| Returns an array of resolved user ids based on an address instance. More... | |
| validate (int $senderId) | |
| Validates the parsed recipients and set errors accordingly. More... | |
| getErrors () | |
| Returns a list of errors determined in the validation process. More... | |
| getAddress () | |
| The address instance used for validation and user id lookup. More... | |
Protected Member Functions | |
| isValid (int $senderId) | |
| pushError (string $languageVariable, array $placeHolderValues=[]) | |
Protected Attributes | |
| ilMailAddressTypeHelper | $typeHelper |
| ilMailAddress | $address |
| ilLogger | $logger |
Private Member Functions | |
| resetErrors () | |
Private Attributes | |
| array | $errors = [] |
Class ilBaseMailAddressType.
Definition at line 25 of file class.ilBaseMailAddressType.php.
| ilBaseMailAddressType::__construct | ( | ilMailAddressTypeHelper | $typeHelper, |
| ilMailAddress | $address, | ||
| ilLogger | $logger | ||
| ) |
Definition at line 33 of file class.ilBaseMailAddressType.php.
References $address, $logger, $typeHelper, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilBaseMailAddressType::getAddress | ( | ) |
The address instance used for validation and user id lookup.
Implements ilMailAddressType.
Definition at line 67 of file class.ilBaseMailAddressType.php.
References $address.
| ilBaseMailAddressType::getErrors | ( | ) |
Returns a list of errors determined in the validation process.
The errors should be reset everytime the validation is triggered.
Implements ilMailAddressType.
Definition at line 62 of file class.ilBaseMailAddressType.php.
References $errors.
|
abstractprotected |
Reimplemented in ilMailGroupAddressType, ilMailLoginOrEmailAddressAddressType, ilMailMailingListAddressType, and ilMailRoleAddressType.
Referenced by validate().
Here is the caller graph for this function:
|
protected |
Definition at line 52 of file class.ilBaseMailAddressType.php.
Referenced by ilMailLoginOrEmailAddressAddressType\isValid(), ilMailMailingListAddressType\isValid(), and ilMailRoleAddressType\isValid().
Here is the caller graph for this function:
|
private |
Definition at line 57 of file class.ilBaseMailAddressType.php.
Referenced by validate().
Here is the caller graph for this function:| ilBaseMailAddressType::validate | ( | int | $senderId | ) |
Validates the parsed recipients and set errors accordingly.
| int | $senderId | The id of the acting ILIAS user, can be used for permission checks etc. |
Implements ilMailAddressType.
Definition at line 45 of file class.ilBaseMailAddressType.php.
References isValid(), and resetErrors().
Here is the call graph for this function:
|
protected |
Definition at line 28 of file class.ilBaseMailAddressType.php.
Referenced by __construct(), ilMailMailingListAddressType\__construct(), ilMailLoginOrEmailAddressAddressType\__construct(), ilMailRoleAddressType\__construct(), getAddress(), ilMailRoleAddressType\getRoleIdsByAddress(), and ilMailLoginOrEmailAddressAddressType\resolve().
|
private |
Definition at line 31 of file class.ilBaseMailAddressType.php.
Referenced by getErrors().
|
protected |
Definition at line 29 of file class.ilBaseMailAddressType.php.
Referenced by __construct(), ilMailMailingListAddressType\__construct(), ilMailLoginOrEmailAddressAddressType\__construct(), and ilMailRoleAddressType\__construct().
|
protected |
Definition at line 27 of file class.ilBaseMailAddressType.php.
Referenced by __construct(), ilMailMailingListAddressType\__construct(), ilMailLoginOrEmailAddressAddressType\__construct(), and ilMailRoleAddressType\__construct().