|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Class ilBaseMailAddressType. More...
Inheritance diagram for ilBaseMailAddressType:
Collaboration diagram for ilBaseMailAddressType:Public Member Functions | |
| __construct (protected ilMailAddressTypeHelper $typeHelper, protected ilMailAddress $address, protected 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... | |
Protected Member Functions | |
| isValid (int $senderId) | |
| pushError (string $languageVariable, array $placeHolderValues=[]) | |
Private Member Functions | |
| resetErrors () | |
Private Attributes | |
| array | $errors = [] |
Class ilBaseMailAddressType.
Definition at line 25 of file class.ilBaseMailAddressType.php.
| ilBaseMailAddressType::__construct | ( | protected ilMailAddressTypeHelper | $typeHelper, |
| protected ilMailAddress | $address, | ||
| protected ilLogger | $logger | ||
| ) |
Definition at line 30 of file class.ilBaseMailAddressType.php.
References isValid().
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 64 of file class.ilBaseMailAddressType.php.
| 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 59 of file class.ilBaseMailAddressType.php.
References $errors.
|
abstractprotected |
|
protected |
| string[] | $placeHolderValues |
Definition at line 49 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 54 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 39 of file class.ilBaseMailAddressType.php.
References isValid(), and resetErrors().
Referenced by ilMailAddressTypeFactory\getByPrefix().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 28 of file class.ilBaseMailAddressType.php.
Referenced by getErrors().