29 $this->parent_id = $a_parent_id;
35 $this->parent_id = $a_parent_id;
44 include_once
'./Services/User/classes/class.ilObjUser.php';
48 foreach($users_data as $usr_data)
50 if(!$a_filter
or $a_filter == $usr_data[
'time_limit_owner'])
55 return $users ? $users :
array();
60 global
$ilDB,$rbacsystem;
62 $query =
"SELECT DISTINCT(time_limit_owner) as parent_id FROM usr_data ";
72 $parent[] =
$row->parent_id;
77 if($rbacsystem->checkAccess(
'read_users',
$row->parent_id)
or $rbacsystem->checkAccess(
'cat_administrate_users',
$row->parent_id))
81 $parent[] =
$row->parent_id;
85 return $parent ? $parent :
array();
111 $where =
"WHERE time_limit_owner = ".$ilDB->quote($a_filter,
"integer").
" ";
116 $query =
"SELECT usr_id FROM usr_data ".$where;
119 while(
$row = $ilDB->fetchObject(
$res))
121 $users[] =
$row->usr_id;
124 return $users ? $users :
array();
static _getAllUserData($a_fields=NULL, $active=-1)
STATIC METHOD get all user data.
setParentId($a_parent_id)
static _getUserFolderId()
static _getAllUserIds($a_filter=0)
Create styles array
The data for the language used.
__construct($a_parent_id)
Constructor public.
static _getUserData($a_filter)
const USER_FOLDER_ID
Class ilObjUserFolder.