|
ILIAS
trunk Revision v12.0_alpha-1221-g4e438232683
|
Inheritance diagram for ilContactGUI:
Collaboration diagram for ilContactGUI:Public Member Functions | |
| __construct (string $format_mail_class=ilFormatMail::class, string $relations_table_class=RelationsTable::class) | |
| 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 () | |
| submitInvitation () | |
| 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 | |
| final const string | CONTACTS_VIEW_GALLERY = 'buddy_view_gallery' |
| final const string | CONTACTS_VIEW_TABLE = 'buddy_view_table' |
Protected Member Functions | |
| activateTab (string $a_id) | |
| changeContactsView () | |
| This method is used to switch the contacts view between gallery and table in the mail system. More... | |
| showContacts () | |
| mailToUsers (array $usr_ids) | |
| inviteToChat (array $usr_ids) | |
Protected Attributes | |
| ilGlobalTemplateInterface | $tpl |
| ilCtrlInterface | $ctrl |
| ilLanguage | $lng |
| ilTabsGUI | $tabs_gui |
| ilHelpGUI | $help |
| ilToolbarGUI | $toolbar |
| ilFormatMail | $umail |
| ilObjUser | $user |
| ilErrorHandling | $error |
| ilRbacSystem | $rbacsystem |
| bool | $has_sub_tabs = false |
| Refinery | $refinery |
| ILIAS UI Factory | $ui_factory |
| ILIAS UI Renderer | $ui_renderer |
Private Member Functions | |
| showSubTabs () | |
| updateState () | |
| confirmUnlinkContact () | |
| unlinkContact () | |
| updateRelationState (int $user, string $action) | |
| asErrorMessage (array $array, string $title) | |
| inviteToChatForm (array $options, array $usr_ids) | |
| chatroomInvitationMessage () | |
| contactAction () | |
| linkToProfile (int $user, string $label) | |
Private Attributes | |
| readonly ILIAS HTTP GlobalHttpState | $http |
| readonly RelationsTable | $relations_table |
| array | $view_mode_options |
@ilCtrl_Calls ilContactGUI: ilMailSearchCoursesGUI, ilMailSearchGroupsGUI, ilMailSearchLearningSequenceGUI, ilMailingListsGUI @ilCtrl_Calls ilContactGUI: ilUsersGalleryGUI, ILIAS\User\Profile\PublicProfileGUI
Definition at line 35 of file class.ilContactGUI.php.
| ilContactGUI::__construct | ( | string | $format_mail_class = ilFormatMail::class, |
| string | $relations_table_class = RelationsTable::class |
||
| ) |
Definition at line 62 of file class.ilContactGUI.php.
References $DIC, ILIAS\Repository\ctrl(), error(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Definition at line 288 of file class.ilContactGUI.php.
Referenced by confirmUnlinkContact(), executeCommand(), inviteToChat(), and showContacts().
Here is the caller graph for this function:
|
private |
| list<string|int> | $array |
Definition at line 579 of file class.ilContactGUI.php.
Referenced by submitInvitation().
Here is the caller graph for this function:
|
protected |
This method is used to switch the contacts view between gallery and table in the mail system.
Definition at line 300 of file class.ilContactGUI.php.
References CONTACTS_VIEW_GALLERY, CONTACTS_VIEW_TABLE, ILIAS\Repository\ctrl(), error(), ilBuddySystem\getInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
private |
Definition at line 623 of file class.ilContactGUI.php.
References Vendor\Package\$a, $url, ilLink\_getStaticLink(), ilObjUser\_lookupLogin(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Referenced by showContacts().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 386 of file class.ilContactGUI.php.
References $user_id, ilObjUser\_lookupLogin(), activateTab(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
private |
Definition at line 662 of file class.ilContactGUI.php.
References $param, $token, $url, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by showContacts().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContactGUI::executeCommand | ( | ) |
Definition at line 107 of file class.ilContactGUI.php.
References activateTab(), ILIAS\Repository\ctrl(), error(), ilBuddySystem\getInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), showSubTabs(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilContactGUI::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 102 of file class.ilContactGUI.php.
| ilContactGUI::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 95 of file class.ilContactGUI.php.
|
protected |
| non-empty-array<int> | $usr_ids |
Definition at line 554 of file class.ilContactGUI.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, activateTab(), ilChatroom\byRoomId(), inviteToChatForm(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by submitInvitation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| array<string,string> | $options |
| list<int> | $usr_ids |
Definition at line 601 of file class.ilContactGUI.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by inviteToChat().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 674 of file class.ilContactGUI.php.
References $user, ilObjUser\_lookupPref(), ILIAS\Repository\ctrl(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
| non-empty-array<int> | $usr_ids |
Definition at line 447 of file class.ilContactGUI.php.
References ilObjUser\_lookupLogin(), ILIAS\Repository\ctrl(), error(), ilMailGlobalServices\getMailObjectRefId(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 325 of file class.ilContactGUI.php.
References activateTab(), chatroomInvitationMessage(), contactAction(), ILIAS\Repository\ctrl(), error(), ilBuddySystem\getInstance(), ilMailGlobalServices\getMailObjectRefId(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 175 of file class.ilContactGUI.php.
References $url, CONTACTS_VIEW_GALLERY, CONTACTS_VIEW_TABLE, ILIAS\Repository\ctrl(), ilUtil\getImagePath(), ilBuddySystem\getInstance(), ilBuddyList\getInstanceByGlobalUser(), ILIAS\Repository\help(), ILIAS\Repository\lng(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilContactGUI::submitInvitation | ( | ) |
Definition at line 482 of file class.ilContactGUI.php.
References Vendor\Package\$a, $id, $ref_id, ilLink\_getStaticLink(), ilObjUser\_lookupLogin(), asErrorMessage(), ilChatroom\byRoomId(), ilChatroom\checkPermissionsOfUser(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), inviteToChat(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
private |
Definition at line 404 of file class.ilContactGUI.php.
References $user_id, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and updateRelationState().
Here is the call graph for this function:
|
private |
Definition at line 412 of file class.ilContactGUI.php.
References Vendor\Package\$e, $relation, $user, ilObjUser\_isAnonymous(), ilObjUser\_lookupLogin(), ilObjUser\_lookupPref(), ILIAS\Repository\ctrl(), ilBuddyList\getInstanceByGlobalUser(), ILIAS\Repository\lng(), and ilUtil\yn2tf().
Referenced by unlinkContact(), and updateState().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 351 of file class.ilContactGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and updateRelationState().
Here is the call graph for this function:
|
protected |
Definition at line 42 of file class.ilContactGUI.php.
|
protected |
Definition at line 49 of file class.ilContactGUI.php.
|
protected |
Definition at line 51 of file class.ilContactGUI.php.
|
protected |
Definition at line 45 of file class.ilContactGUI.php.
|
private |
Definition at line 40 of file class.ilContactGUI.php.
|
protected |
Definition at line 43 of file class.ilContactGUI.php.
|
protected |
Definition at line 50 of file class.ilContactGUI.php.
|
protected |
Definition at line 52 of file class.ilContactGUI.php.
|
private |
Definition at line 55 of file class.ilContactGUI.php.
|
protected |
Definition at line 44 of file class.ilContactGUI.php.
|
protected |
Definition at line 46 of file class.ilContactGUI.php.
|
protected |
Definition at line 41 of file class.ilContactGUI.php.
|
protected |
Definition at line 53 of file class.ilContactGUI.php.
|
protected |
Definition at line 54 of file class.ilContactGUI.php.
|
protected |
Definition at line 47 of file class.ilContactGUI.php.
|
protected |
Definition at line 48 of file class.ilContactGUI.php.
Referenced by linkToProfile(), and updateRelationState().
|
private |
Definition at line 57 of file class.ilContactGUI.php.
| final const string ilContactGUI::CONTACTS_VIEW_GALLERY = 'buddy_view_gallery' |
Definition at line 37 of file class.ilContactGUI.php.
Referenced by changeContactsView(), and showSubTabs().
| final const string ilContactGUI::CONTACTS_VIEW_TABLE = 'buddy_view_table' |
Definition at line 38 of file class.ilContactGUI.php.
Referenced by changeContactsView(), and showSubTabs().