ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilMailRoleAddressType. More...
Public Member Functions | |||
__construct (\ilMailAddressTypeHelper $typeHelper, \ilMailAddress $address, \ilRoleMailboxSearch $roleMailboxSearch, \ilLogger $logger, \ilRbacSystem $rbacsystem, \ilRbacReview $rbacreview) | |||
ilMailRoleAddressType constructor. More... | |||
resolve () | |||
Returns an array of resolved user ids based on an address instance.
| |||
![]() | |||
__construct (\ilMailAddressTypeHelper $typeHelper, \ilMailAddress $address, \ilLogger $logger) | |||
ilBaseMailAddressType constructor. More... | |||
validate (int $senderId) | |||
Validates the parsed recipients and set errors accordingly.
| |||
getErrors () | |||
Returns a list of errors determined in the validation process.The errors should be reset everytime the validation is triggered.
| |||
getAddress () | |||
The address instance used for validation and user id lookup.
| |||
Protected Member Functions | |
getRoleIdsByAddress (\ilMailAddress $address) | |
maySendToGlobalRole (int $senderId) | |
isValid (int $senderId) | |
![]() | |
isValid (int $senderId) | |
pushError (string $languageVariable, array $placeHolderValues=[]) | |
Protected Attributes | |
$rbacsystem | |
$rbacreview | |
$roleMailboxSearch | |
![]() | |
$typeHelper | |
$address | |
$logger | |
Class ilMailRoleAddressType.
Definition at line 8 of file class.ilMailRoleAddressType.php.
ilMailRoleAddressType::__construct | ( | \ilMailAddressTypeHelper | $typeHelper, |
\ilMailAddress | $address, | ||
\ilRoleMailboxSearch | $roleMailboxSearch, | ||
\ilLogger | $logger, | ||
\ilRbacSystem | $rbacsystem, | ||
\ilRbacReview | $rbacreview | ||
) |
ilMailRoleAddressType constructor.
\ilMailAddressTypeHelper | $typeHelper | |
\ilMailAddress | $address | |
\ilRoleMailboxSearch | $roleMailboxSearch | |
\ilLogger | $logger | |
\ilRbacSystem | $rbacsystem | |
\ilRbacReview | $rbacreview |
Definition at line 28 of file class.ilMailRoleAddressType.php.
References $rbacreview, $rbacsystem, and $roleMailboxSearch.
|
protected |
\ilMailAddress | $address |
Definition at line 47 of file class.ilMailRoleAddressType.php.
Referenced by isValid(), and resolve().
|
protected |
Definition at line 78 of file class.ilMailRoleAddressType.php.
References getRoleIdsByAddress(), maySendToGlobalRole(), and ilBaseMailAddressType\pushError().
|
protected |
int | $senderId |
Definition at line 60 of file class.ilMailRoleAddressType.php.
Referenced by isValid().
ilMailRoleAddressType::resolve | ( | ) |
Returns an array of resolved user ids based on an address instance.
Implements ilMailAddressType.
Definition at line 109 of file class.ilMailRoleAddressType.php.
References getRoleIdsByAddress().
|
protected |
Definition at line 14 of file class.ilMailRoleAddressType.php.
Referenced by __construct().
|
protected |
Definition at line 11 of file class.ilMailRoleAddressType.php.
Referenced by __construct().
|
protected |
Definition at line 17 of file class.ilMailRoleAddressType.php.
Referenced by __construct().