29 $this->user_id = $a_user_id;
41 if (!isset(self::$instances[$a_user_id]))
46 return self::$instances[$a_user_id];
57 include_once(
"./Services/Awareness/classes/class.ilAwarenessFeatureCollection.php");
60 include_once(
"./Services/Awareness/classes/class.ilAwarenessFeatureProviderFactory.php");
63 $prov->setUserId($this->user_id);
64 $coll = $prov->collectFeaturesForTargetUser($a_target_user);
65 foreach ($coll->getFeatures() as $feature)
67 $this->collection->addFeature($feature);
static getAllProviders()
Get all awareness providers.
static getInstance($a_user_id)
Get instance (for a user)
getFeaturesForTargetUser($a_target_user)
Collect users.
__construct($a_user_id)
Constructor.
static getInstance()
Get instance.
Collects features from all feature providers.