43 $this->settings->set(
"up_act_".$this->
getProviderId(), (
int) $a_val);
53 return (
int) $this->settings->get(
"up_act_".$this->
getProviderId());
63 $this->user_id = $a_val;
83 $this->ref_id = $a_val;
103 $this->online_user_filter = $a_val;
172 if ($this->
getUserId() != $a_user_id && ($ou ===
false || in_array($a_user_id, $ou)))
174 $a_collection->
addUser($a_user_id);
Represents a set of collected users.
static getInstance()
Get instance.
A class that provides a collection of users for the awareness tool.
collectUsers()
Collect all users.
getInitialUserSet()
Get initial set of users.
setUserId($a_val)
Set user id.
isHighlighted()
Is highlighted.
getInfo()
Provider info (used in administration settings)
addUserToCollection($a_user_id, ilAwarenessUserCollection $a_collection)
Add user to collection.
getOnlineUserFilter()
Get online user filter.
setOnlineUserFilter($a_val)
Set online user filter.
setActivationMode($a_val)
Activate provider.
getProviderId()
This should return a unique id for the provider The ID should start with the service/module id,...
setRefId($a_val)
Set ref id.
__construct()
Constructor.
getTitle()
Provider title (used in awareness overlay and in administration settings)
getActivationMode()
Get Activate provider.