ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
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 () | |
updateRelationState (int $user, string $action) | |
asErrorMessage (array $array, string $title) | |
inviteToChatForm (array $options, array $usr_ids) | |
chatroomInvitationMessage () | |
contactAction () | |
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().
|
protected |
Definition at line 287 of file class.ilContactGUI.php.
Referenced by executeCommand(), inviteToChat(), and showContacts().
|
private |
list<string|int> | $array |
Definition at line 547 of file class.ilContactGUI.php.
Referenced by submitInvitation().
|
protected |
This method is used to switch the contacts view between gallery and table in the mail system.
Definition at line 299 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().
|
private |
Definition at line 591 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().
|
private |
Definition at line 630 of file class.ilContactGUI.php.
References $param, $token, $url, ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by showContacts().
ilContactGUI::executeCommand | ( | ) |
Definition at line 106 of file class.ilContactGUI.php.
References activateTab(), ILIAS\Repository\ctrl(), error(), ilBuddySystem\getInstance(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), showSubTabs(), and ILIAS\Repository\user().
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 101 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 94 of file class.ilContactGUI.php.
|
protected |
non-empty-array<int> | $usr_ids |
Definition at line 522 of file class.ilContactGUI.php.
References activateTab(), ilChatroom\byRoomId(), inviteToChatForm(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by submitInvitation().
|
private |
array<string,string> | $options |
list<int> | $usr_ids |
Definition at line 569 of file class.ilContactGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by inviteToChat().
|
protected |
non-empty-array<int> | $usr_ids |
Definition at line 415 of file class.ilContactGUI.php.
References ilObjUser\_lookupLogin(), ILIAS\Repository\ctrl(), error(), ilMailGlobalServices\getMailObjectRefId(), and ILIAS\Repository\lng().
|
protected |
Definition at line 324 of file class.ilContactGUI.php.
References activateTab(), chatroomInvitationMessage(), contactAction(), ILIAS\Repository\ctrl(), error(), ilBuddySystem\getInstance(), ilMailGlobalServices\getMailObjectRefId(), and ILIAS\Repository\lng().
|
private |
Definition at line 174 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().
ilContactGUI::submitInvitation | ( | ) |
Definition at line 450 of file class.ilContactGUI.php.
References Vendor\Package\$a, $id, $message, $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().
|
private |
Definition at line 380 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 updateState().
|
private |
Definition at line 350 of file class.ilContactGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and updateRelationState().
|
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 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().