|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Class ilMailCachedAddressType. More...
Inheritance diagram for ilMailCachedAddressType:
Collaboration diagram for ilMailCachedAddressType:Public Member Functions | |
| __construct (protected ilMailAddressType $inner, protected bool $useCache) | |
| 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... | |
| resolve () | |
| Returns an array of resolved user ids based on an address instance. More... | |
Static Public Member Functions | |
| static | clearCache () |
Static Protected Attributes | |
| static array | $usrIdsByAddressCache = [] |
| static array | $isValidCache = [] |
Private Member Functions | |
| getCacheKey () | |
Class ilMailCachedAddressType.
Definition at line 24 of file class.ilMailCachedAddressType.php.
| ilMailCachedAddressType::__construct | ( | protected ilMailAddressType | $inner, |
| protected bool | $useCache | ||
| ) |
Definition at line 31 of file class.ilMailCachedAddressType.php.
|
static |
Definition at line 35 of file class.ilMailCachedAddressType.php.
Referenced by ilMailAddressTypesTest\setUp().
Here is the caller graph for this function:| ilMailCachedAddressType::getAddress | ( | ) |
The address instance used for validation and user id lookup.
Implements ilMailAddressType.
Definition at line 63 of file class.ilMailCachedAddressType.php.
Referenced by getCacheKey().
Here is the caller graph for this function:
|
private |
Definition at line 41 of file class.ilMailCachedAddressType.php.
References getAddress().
Referenced by resolve(), and validate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailCachedAddressType::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 58 of file class.ilMailCachedAddressType.php.
| ilMailCachedAddressType::resolve | ( | ) |
Returns an array of resolved user ids based on an address instance.
Implements ilMailAddressType.
Definition at line 68 of file class.ilMailCachedAddressType.php.
References getCacheKey().
Here is the call graph for this function:| ilMailCachedAddressType::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 47 of file class.ilMailCachedAddressType.php.
References getCacheKey().
Here is the call graph for this function:
|
staticprotected |
Definition at line 29 of file class.ilMailCachedAddressType.php.
|
staticprotected |
Definition at line 27 of file class.ilMailCachedAddressType.php.