|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ilMailSearchObjectGUI:
Collaboration diagram for ilMailSearchObjectGUI:Public Member Functions | |
| __construct (protected readonly ilPortfolioAccessHandler|ilWorkspaceAccessHandler|null $wsp_access_handler=null, protected readonly ?int $wsp_node_id=null,) | |
| getObjectType () | |
| getObjectTypeLabel () | |
| getSearchTableTitle () | |
| doesExposeMembers (ilObject $object) | |
| getUnsafeGetCommands () | |
| This method must return a list of unsafe GET commands. More... | |
| getSafePostCommands () | |
| This method must return a list of safe POST commands. More... | |
| executeCommand () | |
| getContext () | |
| isDefaultRequestContext () | |
| getUnsafeGetCommands () | |
| This method must return a list of unsafe GET commands. More... | |
| getSafePostCommands () | |
| This method must return a list of safe POST commands. More... | |
Data Fields | |
| const string | CONTEXT_CONTACT = 'contact' |
| const string | CONTEXT_MAIL = 'mail' |
| const string | CONTEXT_WORKSPACE = 'wsp' |
| const string | CMD_SHOW_MY_OBJECTS = 'showMyObjects' |
| const string | CMD_HANDLE_MAIL_SEARCH_OBJECT_ACTIONS = 'handleMailSearchObjectActions' |
| const string | CMD_CANCEL = 'cancel' |
| const string | ACTION_MAIL_OBJECTS = 'mailObjects' |
| const string | ACTION_MAIL_MEMBERS = 'mailMembers' |
| const string | ACTION_SHARE_OBJECTS = 'shareObjects' |
| const string | ACTION_SHARE_MEMBERS = 'shareMembers' |
| const string | ACTION_SHOW_MEMBERS = 'showMembers' |
| const string | ACTION_BUDDY_REQUEST = 'buddyRequest' |
Protected Member Functions | |
| getLocalDefaultRolePrefixes () | |
| addPermission (array $a_obj_ids) | |
Protected Attributes | |
| readonly GlobalHttpState | $http |
| readonly Refinery | $refinery |
| readonly ilGlobalTemplateInterface | $tpl |
| readonly ilCtrlInterface | $ctrl |
| readonly ilLanguage | $lng |
| readonly ilObjUser | $user |
| readonly ilErrorHandling | $error |
| readonly ilRbacSystem | $rbacsystem |
| readonly ilRbacReview | $rbacreview |
| readonly ilTree | $tree |
| readonly ilObjectDataCache | $cache |
| readonly ilFormatMail | $umail |
| readonly bool | $mailing_allowed |
| readonly Factory | $ui_factory |
| readonly Renderer | $ui_renderer |
Private Member Functions | |
| mailMembers () | |
| cancel () | |
| showMyObjects () | |
| isLocalRoleTitle (string $title) | |
| shareObjects () | |
| shareMembers () | |
| mailObjects () | |
| handleMailSearchObjectActions () | |
| isMailActionAllowed () | |
| isShareActionAllowed () | |
| resolveBuddyUserIdFromQuery () | |
| retrieveObjectIdsFromQuery () | |
| resolveObjectIds (array|string $obj_ids) | |
| getOwnObjectIds () | |
| resolveUserIds () | |
| collectMemberRowIds (array $obj_ids) | |
| retrieveMemberRowIdsFromQuery () | |
| retrieveIdsFromQuery (string $key) | |
Private Attributes | |
| readonly ilTabsGUI | $tabs |
| string | $context = null |
Definition at line 27 of file class.ilMailSearchObjectGUI.php.
| ilMailSearchObjectGUI::__construct | ( | protected readonly ilPortfolioAccessHandler|ilWorkspaceAccessHandler|null | $wsp_access_handler = null, |
| protected readonly ?int | $wsp_node_id = null |
||
| ) |
| ilCtrlException |
Definition at line 63 of file class.ilMailSearchObjectGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ilMail\getMailObjectReferenceId(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
| int[] | $a_obj_ids |
Definition at line 190 of file class.ilMailSearchObjectGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by shareMembers(), and shareObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 244 of file class.ilMailSearchObjectGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isDefaultRequestContext(), ILIAS\Repository\refinery(), and showMyObjects().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| list<int> | $obj_ids |
Definition at line 649 of file class.ilMailSearchObjectGUI.php.
References ilObjUser\_lookupActive(), ilParticipants\getInstance(), and ILIAS\Data\ObjectId\toReferenceIds().
Referenced by resolveUserIds().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstract |
Reimplemented in ilMailSearchCoursesGUI, and ilMailSearchGroupsGUI.
| ilMailSearchObjectGUI::executeCommand | ( | ) |
| ilCtrlException |
Definition at line 125 of file class.ilMailSearchObjectGUI.php.
References cancel(), ILIAS\Repository\ctrl(), ilBuddySystem\getInstance(), handleMailSearchObjectActions(), ILIAS\Repository\lng(), resolveBuddyUserIdFromQuery(), retrieveObjectIdsFromQuery(), and showMyObjects().
Here is the call graph for this function:| ilMailSearchObjectGUI::getContext | ( | ) |
Definition at line 164 of file class.ilMailSearchObjectGUI.php.
References $context, CONTEXT_CONTACT, ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by isDefaultRequestContext(), isShareActionAllowed(), and showMyObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
abstractprotected |
Reimplemented in ilMailSearchCoursesGUI, and ilMailSearchGroupsGUI.
Referenced by isLocalRoleTitle().
Here is the caller graph for this function:
|
abstract |
Reimplemented in ilMailSearchCoursesGUI, and ilMailSearchGroupsGUI.
Referenced by retrieveObjectIdsFromQuery().
Here is the caller graph for this function:
|
abstract |
Reimplemented in ilMailSearchCoursesGUI, and ilMailSearchGroupsGUI.
|
private |
Definition at line 607 of file class.ilMailSearchObjectGUI.php.
References ilParticipants\_getMembershipByType(), ilObject\_hasUntrashedReference(), and ILIAS\Repository\user().
Referenced by resolveObjectIds().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailSearchObjectGUI::getSafePostCommands | ( | ) |
This method must return a list of safe POST commands.
Safe post commands returned by this method will no longer be CSRF protected and will NOT be appended by an ilCtrlToken.
Implements ilCtrlSecurityInterface.
Definition at line 117 of file class.ilMailSearchObjectGUI.php.
|
abstract |
Reimplemented in ilMailSearchCoursesGUI, and ilMailSearchGroupsGUI.
| ilMailSearchObjectGUI::getUnsafeGetCommands | ( | ) |
This method must return a list of unsafe GET commands.
Unsafe get commands returned by this method will now be CSRF protected, which means an ilCtrlToken is appended each time a link-target is generated to the class implementing this interface with a command from that list.
Tokens will be validated in
Implements ilCtrlSecurityInterface.
Definition at line 110 of file class.ilMailSearchObjectGUI.php.
References CMD_HANDLE_MAIL_SEARCH_OBJECT_ACTIONS.
|
private |
Definition at line 507 of file class.ilMailSearchObjectGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isMailActionAllowed(), isShareActionAllowed(), ILIAS\Repository\lng(), mailMembers(), mailObjects(), ILIAS\Repository\refinery(), shareMembers(), and shareObjects().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMailSearchObjectGUI::isDefaultRequestContext | ( | ) |
Definition at line 182 of file class.ilMailSearchObjectGUI.php.
References getContext().
Referenced by cancel(), isMailActionAllowed(), and showMyObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 404 of file class.ilMailSearchObjectGUI.php.
References getLocalDefaultRolePrefixes().
Referenced by mailObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 542 of file class.ilMailSearchObjectGUI.php.
References $mailing_allowed, and isDefaultRequestContext().
Referenced by handleMailSearchObjectActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 547 of file class.ilMailSearchObjectGUI.php.
References getContext().
Referenced by handleMailSearchObjectActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 204 of file class.ilMailSearchObjectGUI.php.
References ilObjUser\_lookupLogin(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilMailFormGUI\MAIL_FORM_TYPE_SEARCH_RESULT, and resolveUserIds().
Referenced by handleMailSearchObjectActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 441 of file class.ilMailSearchObjectGUI.php.
References ilObject\_getAllReferences(), ilParticipants\canSendMailToMembers(), ILIAS\Repository\ctrl(), ilMailGlobalServices\getMailObjectRefId(), isLocalRoleTitle(), ILIAS\Repository\lng(), ilMailFormGUI\MAIL_FORM_TYPE_SEARCH_RESULT, resolveObjectIds(), retrieveIdsFromQuery(), showMyObjects(), ILIAS\Repository\user(), and ilRoleMailboxAddress\value().
Referenced by handleMailSearchObjectActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 554 of file class.ilMailSearchObjectGUI.php.
References retrieveMemberRowIdsFromQuery().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| list<int>|string | $obj_ids |
Definition at line 594 of file class.ilMailSearchObjectGUI.php.
References getOwnObjectIds().
Referenced by mailObjects(), retrieveObjectIdsFromQuery(), and shareObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 618 of file class.ilMailSearchObjectGUI.php.
References collectMemberRowIds(), ILIAS\Repository\int(), retrieveMemberRowIdsFromQuery(), and retrieveObjectIdsFromQuery().
Referenced by mailMembers(), and shareMembers().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 703 of file class.ilMailSearchObjectGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by mailObjects(), retrieveObjectIdsFromQuery(), and shareObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 671 of file class.ilMailSearchObjectGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by resolveBuddyUserIdFromQuery(), and resolveUserIds().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 576 of file class.ilMailSearchObjectGUI.php.
References getObjectType(), resolveObjectIds(), and retrieveIdsFromQuery().
Referenced by executeCommand(), and resolveUserIds().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 429 of file class.ilMailSearchObjectGUI.php.
References addPermission(), ILIAS\Repository\lng(), and resolveUserIds().
Referenced by handleMailSearchObjectActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 412 of file class.ilMailSearchObjectGUI.php.
References addPermission(), ILIAS\Repository\lng(), resolveObjectIds(), retrieveIdsFromQuery(), and showMyObjects().
Referenced by handleMailSearchObjectActions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 351 of file class.ilMailSearchObjectGUI.php.
References ILIAS\Repository\ctrl(), getContext(), ILIAS\FileDelivery\http(), isDefaultRequestContext(), ILIAS\Repository\lng(), ILIAS\Repository\tabs(), and ILIAS\Repository\user().
Referenced by cancel(), executeCommand(), mailObjects(), and shareObjects().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 53 of file class.ilMailSearchObjectGUI.php.
|
private |
Definition at line 58 of file class.ilMailSearchObjectGUI.php.
Referenced by getContext().
|
protected |
Definition at line 46 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 49 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 43 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 47 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 55 of file class.ilMailSearchObjectGUI.php.
Referenced by isMailActionAllowed().
|
protected |
Definition at line 51 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 50 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 44 of file class.ilMailSearchObjectGUI.php.
|
private |
Definition at line 42 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 45 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 52 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 56 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 57 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 54 of file class.ilMailSearchObjectGUI.php.
|
protected |
Definition at line 48 of file class.ilMailSearchObjectGUI.php.
| const string ilMailSearchObjectGUI::ACTION_BUDDY_REQUEST = 'buddyRequest' |
Definition at line 40 of file class.ilMailSearchObjectGUI.php.
Referenced by MailSearchObjectMembershipsTable\getActions(), and MailSearchObjectMembershipsTable\getRows().
| const string ilMailSearchObjectGUI::ACTION_MAIL_MEMBERS = 'mailMembers' |
Definition at line 36 of file class.ilMailSearchObjectGUI.php.
Referenced by MailSearchObjectMembershipsTable\getActions().
| const string ilMailSearchObjectGUI::ACTION_MAIL_OBJECTS = 'mailObjects' |
Definition at line 35 of file class.ilMailSearchObjectGUI.php.
Referenced by MailSearchObjectsTable\getActions(), and MailSearchObjectsTable\getRows().
| const string ilMailSearchObjectGUI::ACTION_SHARE_MEMBERS = 'shareMembers' |
Definition at line 38 of file class.ilMailSearchObjectGUI.php.
Referenced by MailSearchObjectMembershipsTable\getActions().
| const string ilMailSearchObjectGUI::ACTION_SHARE_OBJECTS = 'shareObjects' |
Definition at line 37 of file class.ilMailSearchObjectGUI.php.
Referenced by MailSearchObjectsTable\getActions().
| const string ilMailSearchObjectGUI::ACTION_SHOW_MEMBERS = 'showMembers' |
Definition at line 39 of file class.ilMailSearchObjectGUI.php.
Referenced by MailSearchObjectsTable\getActions(), and MailSearchObjectsTable\getRows().
| const string ilMailSearchObjectGUI::CMD_CANCEL = 'cancel' |
Definition at line 34 of file class.ilMailSearchObjectGUI.php.
| const string ilMailSearchObjectGUI::CMD_HANDLE_MAIL_SEARCH_OBJECT_ACTIONS = 'handleMailSearchObjectActions' |
Definition at line 33 of file class.ilMailSearchObjectGUI.php.
Referenced by MailSearchObjectMembershipsTable\getActions(), MailSearchObjectsTable\getActions(), and getUnsafeGetCommands().
| const string ilMailSearchObjectGUI::CMD_SHOW_MY_OBJECTS = 'showMyObjects' |
Definition at line 32 of file class.ilMailSearchObjectGUI.php.
| const string ilMailSearchObjectGUI::CONTEXT_CONTACT = 'contact' |
Definition at line 29 of file class.ilMailSearchObjectGUI.php.
Referenced by getContext().
| const string ilMailSearchObjectGUI::CONTEXT_MAIL = 'mail' |
Definition at line 30 of file class.ilMailSearchObjectGUI.php.
| const string ilMailSearchObjectGUI::CONTEXT_WORKSPACE = 'wsp' |
Definition at line 31 of file class.ilMailSearchObjectGUI.php.
Referenced by MailSearchObjectMembershipsTable\getActions(), and MailSearchObjectsTable\getActions().