ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ilMailSearchCoursesGUI Class Reference
+ Inheritance diagram for ilMailSearchCoursesGUI:
+ Collaboration diagram for ilMailSearchCoursesGUI:

Public Member Functions

 getObjectType ()
 
 getObjectTypeLabel ()
 
 getSearchTableTitle ()
 
 doesExposeMembers (ilObject $object)
 
- Public Member Functions inherited from ilMailSearchObjectGUI
 __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...
 

Protected Member Functions

 getLocalDefaultRolePrefixes ()
 
- Protected Member Functions inherited from ilMailSearchObjectGUI
 getLocalDefaultRolePrefixes ()
 
 addPermission (array $a_obj_ids)
 

Additional Inherited Members

- Data Fields inherited from ilMailSearchObjectGUI
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 Attributes inherited from ilMailSearchObjectGUI
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
 

Detailed Description

Author
Jens Conze @ilCtrl_Calls ilMailSearchCoursesGUI: ilBuddySystemGUI

Definition at line 26 of file class.ilMailSearchCoursesGUI.php.

Member Function Documentation

◆ doesExposeMembers()

ilMailSearchCoursesGUI::doesExposeMembers ( ilObject  $object)

Reimplemented from ilMailSearchObjectGUI.

Definition at line 43 of file class.ilMailSearchCoursesGUI.php.

43 : bool
44 {
45 $is_privileged_user = $this->rbacsystem->checkAccess('write', $object->getRefId());
46
47 return ($object->isActivated() && $object->getShowMembers()) || $is_privileged_user;
48 }

References ilObject\getRefId().

+ Here is the call graph for this function:

◆ getLocalDefaultRolePrefixes()

ilMailSearchCoursesGUI::getLocalDefaultRolePrefixes ( )
protected
Returns
string[] Returns an array like ['il_crs_member_', 'il_crs_tutor', ...]

Reimplemented from ilMailSearchObjectGUI.

Definition at line 50 of file class.ilMailSearchCoursesGUI.php.

50 : array
51 {
52 return [
53 'il_crs_member_',
54 'il_crs_tutor_',
55 'il_crs_admin_',
56 ];
57 }

◆ getObjectType()

ilMailSearchCoursesGUI::getObjectType ( )

Reimplemented from ilMailSearchObjectGUI.

Definition at line 28 of file class.ilMailSearchCoursesGUI.php.

28 : string
29 {
30 return 'crs';
31 }

◆ getObjectTypeLabel()

ilMailSearchCoursesGUI::getObjectTypeLabel ( )

Reimplemented from ilMailSearchObjectGUI.

Definition at line 33 of file class.ilMailSearchCoursesGUI.php.

33 : string
34 {
35 return $this->lng->txt('course');
36 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ getSearchTableTitle()

ilMailSearchCoursesGUI::getSearchTableTitle ( )

Reimplemented from ilMailSearchObjectGUI.

Definition at line 38 of file class.ilMailSearchCoursesGUI.php.

38 : string
39 {
40 return $this->lng->txt('mail_my_courses');
41 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: