ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilAwarenessUserProviderContactRequests Class Reference
+ Inheritance diagram for ilAwarenessUserProviderContactRequests:
+ Collaboration diagram for ilAwarenessUserProviderContactRequests:

Public Member Functions

 getProviderId ()
 Get provider id. More...
 
 getTitle ()
 Provider title (used in awareness overlay and in administration settings) More...
 
 getInfo ()
 Provider info (used in administration settings) More...
 
 isHighlighted ()
 Is highlighted. More...
 
- Public Member Functions inherited from ilAwarenessUserProvider
 __construct ()
 Constructor. More...
 
 setActivationMode ($a_val)
 Activate provider. More...
 
 getActivationMode ()
 Get Activate provider. More...
 
 setUserId ($a_val)
 Set user id. More...
 
 getUserId ()
 Get user id. More...
 
 setRefId ($a_val)
 Set ref id. More...
 
 getRefId ()
 Get ref id. More...
 
 setOnlineUserFilter ($a_val)
 Set online user filter. More...
 
 getOnlineUserFilter ()
 Get online user filter. More...
 
 getProviderId ()
 This should return a unique id for the provider The ID should start with the service/module id, separated by "_" and a second part that is unique within the module/service, e.g. More...
 
 getTitle ()
 Provider title (used in awareness overlay and in administration settings) More...
 
 getInfo ()
 Provider info (used in administration settings) More...
 
 getInitialUserSet ()
 Get initial set of users. More...
 
 collectUsers ()
 Collect all users. More...
 
 isHighlighted ()
 Is highlighted. More...
 

Additional Inherited Members

- Data Fields inherited from ilAwarenessUserProvider
const MODE_INACTIVE = 0
 
const MODE_ONLINE_ONLY = 1
 
const MODE_INCL_OFFLINE = 2
 
- Protected Member Functions inherited from ilAwarenessUserProvider
 addUserToCollection ($a_user_id, ilAwarenessUserCollection $a_collection)
 Add user to collection. More...
 
- Protected Attributes inherited from ilAwarenessUserProvider
 $user_id
 
 $ref_id
 
 $lng
 
 $db
 
 $online_user_filter = false
 

Detailed Description

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 11 of file class.ilAwarenessUserProviderContactRequests.php.

Member Function Documentation

◆ getInfo()

ilAwarenessUserProviderContactRequests::getInfo ( )

Provider info (used in administration settings)

Returns
string provider info text

Definition at line 36 of file class.ilAwarenessUserProviderContactRequests.php.

References $ilUser, ilAwarenessUserProvider\getInitialUserSet(), and ilBuddySystem\getInstance().

37  {
38  $this->lng->loadLanguageModule('contact');
39  return $this->lng->txt('contact_awrn_req_contacts_info');
40  }
+ Here is the call graph for this function:

◆ getProviderId()

ilAwarenessUserProviderContactRequests::getProviderId ( )

Get provider id.

Returns
string provider id

Definition at line 17 of file class.ilAwarenessUserProviderContactRequests.php.

18  {
19  return 'contact_approved';
20  }

◆ getTitle()

ilAwarenessUserProviderContactRequests::getTitle ( )

Provider title (used in awareness overlay and in administration settings)

Returns
string provider title

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

27  {
28  $this->lng->loadLanguageModule('contact');
29  return $this->lng->txt('contact_awrn_req_contacts');
30  }

◆ isHighlighted()

ilAwarenessUserProviderContactRequests::isHighlighted ( )

Is highlighted.

Returns
bool return true, if user group should be highlighted (using extra highlighted number)

Definition at line 74 of file class.ilAwarenessUserProviderContactRequests.php.

75  {
76  return true;
77  }

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