ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilAwarenessFeatureProvider Class Reference

A class that provides a collection of features for the awareness tool. More...

+ Inheritance diagram for ilAwarenessFeatureProvider:
+ Collaboration diagram for ilAwarenessFeatureProvider:

Public Member Functions

 __construct ()
 Constructor. More...
 
 setUserId ($a_val)
 Set user id. More...
 
 getUserId ()
 Get user id. More...
 
 collectFeaturesForTargetUser ($a_target_user)
 Collect features for a target user. More...
 

Protected Attributes

 $user_id
 
 $lng
 
 $db
 

Detailed Description

A class that provides a collection of features for the awareness tool.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

Definition at line 12 of file class.ilAwarenessFeatureProvider.php.

Constructor & Destructor Documentation

◆ __construct()

ilAwarenessFeatureProvider::__construct ( )

Constructor.

Definition at line 21 of file class.ilAwarenessFeatureProvider.php.

References $ilDB, and $lng.

22  {
23  global $lng, $ilDB;
24 
25  $this->lng = $lng;
26  $this->db = $ilDB;
27  }
global $ilDB

Member Function Documentation

◆ collectFeaturesForTargetUser()

ilAwarenessFeatureProvider::collectFeaturesForTargetUser (   $a_target_user)
abstract

Collect features for a target user.

Parameters
int$a_target_usertarget user
Returns
ilAwarenessFeatureCollection collection of users

Referenced by getUserId().

+ Here is the caller graph for this function:

◆ getUserId()

ilAwarenessFeatureProvider::getUserId ( )

Get user id.

Returns
int user id

Definition at line 44 of file class.ilAwarenessFeatureProvider.php.

References $user_id, and collectFeaturesForTargetUser().

Referenced by ilAwarenessMailFeatureProvider\collectFeaturesForTargetUser(), and ilAwarenessChatFeatureProvider\collectFeaturesForTargetUser().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setUserId()

ilAwarenessFeatureProvider::setUserId (   $a_val)

Set user id.

Parameters
int$a_valuser id

Definition at line 34 of file class.ilAwarenessFeatureProvider.php.

35  {
36  $this->user_id = $a_val;
37  }

Field Documentation

◆ $db

ilAwarenessFeatureProvider::$db
protected

Definition at line 16 of file class.ilAwarenessFeatureProvider.php.

◆ $lng

◆ $user_id

ilAwarenessFeatureProvider::$user_id
protected

Definition at line 14 of file class.ilAwarenessFeatureProvider.php.

Referenced by getUserId().


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