|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ilMailCachedAddressType:
Collaboration diagram for ilMailCachedAddressType:Public Member Functions | |
| __construct (protected ilMailAddressType $inner, protected bool $use_cache) | |
| validate (int $sender_id) | |
| 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 $sender_id) | |
| 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 () |
Static Protected Attributes | |
| static array | $usr_ids_by_address_cache = [] |
| static array | $is_valid_cache = [] |
Private Member Functions | |
| getCacheKey () | |
Definition at line 21 of file class.ilMailCachedAddressType.php.
| ilMailCachedAddressType::__construct | ( | protected ilMailAddressType | $inner, |
| protected bool | $use_cache | ||
| ) |
Definition at line 28 of file class.ilMailCachedAddressType.php.
|
static |
Definition at line 32 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 59 of file class.ilMailCachedAddressType.php.
Referenced by getCacheKey().
Here is the caller graph for this function:
|
private |
Definition at line 38 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 54 of file class.ilMailCachedAddressType.php.
| ilMailCachedAddressType::resolve | ( | ) |
Returns an array of resolved user ids based on an address instance.
Implements ilMailAddressType.
Definition at line 64 of file class.ilMailCachedAddressType.php.
References getCacheKey().
Here is the call graph for this function:| ilMailCachedAddressType::validate | ( | int | $sender_id | ) |
Validates the parsed recipients and set errors accordingly.
| int | $sender_id | The id of the acting ILIAS user, can be used for permission checks etc. |
Implements ilMailAddressType.
Definition at line 44 of file class.ilMailCachedAddressType.php.
References getCacheKey().
Here is the call graph for this function:
|
staticprotected |
Definition at line 26 of file class.ilMailCachedAddressType.php.
|
staticprotected |
Definition at line 24 of file class.ilMailCachedAddressType.php.