ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
setRefId ($a_val) | |
Set ref id. More... | |
getRefId () | |
Get ref id. More... | |
setFilter ($a_val) | |
Set filter. More... | |
getFilter () | |
Get filter. More... | |
getMaxOnlineUserCnt () | |
Maximum for online user data. More... | |
getUserCollections ($a_online_only=false) | |
Get user collections. More... | |
getUserCounter () | |
Get user counter. More... | |
getOnlineUserData ($a_ts="") | |
Get online user data. More... | |
getData () | |
Get data. More... | |
Static Public Member Functions | |
static | getInstance ($a_user_id) |
Get instance (for a user) More... | |
Protected Member Functions | |
__construct ($a_user_id) | |
Constructor. More... | |
Protected Attributes | |
$user_id | |
$ref_id = 0 | |
$user_collector | |
$action_collector | |
$user_collection | |
$data = null | |
$online_user_data = null | |
$filter = "" | |
Static Protected Attributes | |
static | $instances = array() |
Definition at line 12 of file class.ilAwarenessData.php.
|
protected |
Constructor.
Definition at line 30 of file class.ilAwarenessData.php.
References ilUserActionCollector\getInstance(), and ilAwarenessUserCollector\getInstance().
ilAwarenessData::getData | ( | ) |
Get data.
Definition at line 227 of file class.ilAwarenessData.php.
References $action, $filter, $n, $names, $user_collection, array, data, getFilter(), ilUserUtil\getNamePresentation(), ilAwarenessUserCollector\getOnlineUsers(), getUserCollections(), and ilUtil\sortArray().
ilAwarenessData::getFilter | ( | ) |
Get filter.
Definition at line 76 of file class.ilAwarenessData.php.
References $filter.
Referenced by getData().
|
static |
Get instance (for a user)
int | $a_user_id | user id |
Definition at line 96 of file class.ilAwarenessData.php.
Referenced by ilAwarenessAct\getAwarenessData(), ilAwarenessAct\getAwarenessUserCounter(), and ilAwarenessAct\notifyOnNewOnlineContacts().
ilAwarenessData::getMaxOnlineUserCnt | ( | ) |
Maximum for online user data.
Definition at line 84 of file class.ilAwarenessData.php.
Referenced by getOnlineUserData().
ilAwarenessData::getOnlineUserData | ( | $a_ts = "" | ) |
Get online user data.
string | $a_ts | timestamp |
Definition at line 157 of file class.ilAwarenessData.php.
References $n, $names, $online_user_data, $user_collection, array, getMaxOnlineUserCnt(), ilUserUtil\getNamePresentation(), ilAwarenessUserCollector\getOnlineUsers(), getUserCollections(), and ilUtil\sortArray().
ilAwarenessData::getRefId | ( | ) |
Get ref id.
Definition at line 56 of file class.ilAwarenessData.php.
References $ref_id.
Referenced by getUserCollections().
ilAwarenessData::getUserCollections | ( | $a_online_only = false | ) |
Get user collections.
bool | $a_online_only | true, if only online users should be collected |
Definition at line 113 of file class.ilAwarenessData.php.
References getRefId().
Referenced by getData(), getOnlineUserData(), and getUserCounter().
ilAwarenessData::getUserCounter | ( | ) |
Get user counter.
Definition at line 126 of file class.ilAwarenessData.php.
References $user_collection, array, and getUserCollections().
ilAwarenessData::setFilter | ( | $a_val | ) |
Set filter.
string | $a_val | filter string |
Definition at line 66 of file class.ilAwarenessData.php.
ilAwarenessData::setRefId | ( | $a_val | ) |
|
protected |
Definition at line 17 of file class.ilAwarenessData.php.
|
protected |
Definition at line 19 of file class.ilAwarenessData.php.
|
protected |
Definition at line 22 of file class.ilAwarenessData.php.
Referenced by getData(), and getFilter().
|
staticprotected |
Definition at line 21 of file class.ilAwarenessData.php.
|
protected |
Definition at line 20 of file class.ilAwarenessData.php.
Referenced by getOnlineUserData().
|
protected |
Definition at line 15 of file class.ilAwarenessData.php.
Referenced by getRefId().
|
protected |
Definition at line 18 of file class.ilAwarenessData.php.
Referenced by getData(), getOnlineUserData(), and getUserCounter().
|
protected |
Definition at line 16 of file class.ilAwarenessData.php.
|
protected |
Definition at line 14 of file class.ilAwarenessData.php.