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

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...
 
- 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.ilAwarenessUserProviderApprovedContacts.php.

Member Function Documentation

◆ getInfo()

ilAwarenessUserProviderApprovedContacts::getInfo ( )

Provider info (used in administration settings)

Returns
string provider info text

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

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

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

◆ getProviderId()

ilAwarenessUserProviderApprovedContacts::getProviderId ( )

Get provider id.

Returns
string provider id

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

18  {
19  return 'contact_requests';
20  }

◆ getTitle()

ilAwarenessUserProviderApprovedContacts::getTitle ( )

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

Returns
string provider title

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

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

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