|
ILIAS
release_8 Revision v8.24
|
Class ilMailCachedAddressType. More...
Inheritance diagram for ilMailCachedAddressType:
Collaboration diagram for ilMailCachedAddressType:Public Member Functions | |
| __construct (ilMailAddressType $inner, 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... | |
| 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... | |
Static Public Member Functions | |
| static | clearCache () |
Protected Attributes | |
| ilMailAddressType | $inner |
| bool | $useCache = true |
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 | ( | ilMailAddressType | $inner, |
| bool | $useCache | ||
| ) |
Definition at line 33 of file class.ilMailCachedAddressType.php.
|
static |
Definition at line 39 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 67 of file class.ilMailCachedAddressType.php.
Referenced by getCacheKey().
Here is the caller graph for this function:
|
private |
Definition at line 45 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 62 of file class.ilMailCachedAddressType.php.
| ilMailCachedAddressType::resolve | ( | ) |
Returns an array of resolved user ids based on an address instance.
Implements ilMailAddressType.
Definition at line 72 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 51 of file class.ilMailCachedAddressType.php.
References getCacheKey().
Here is the call graph for this function:
|
protected |
Definition at line 30 of file class.ilMailCachedAddressType.php.
Referenced by __construct().
|
staticprotected |
Definition at line 29 of file class.ilMailCachedAddressType.php.
|
protected |
Definition at line 31 of file class.ilMailCachedAddressType.php.
Referenced by __construct().
|
staticprotected |
Definition at line 27 of file class.ilMailCachedAddressType.php.