Definition at line 12 of file class.ilLocalUser.php.
◆ __construct()
ilLocalUser::__construct |
( |
|
$a_parent_id | ) |
|
Constructor public.
- Parameters
-
string | scriptname |
int | user_id |
Definition at line 24 of file class.ilLocalUser.php.
References $DIC, and $ilDB.
31 $this->parent_id = $a_parent_id;
◆ _getAllUserIds()
static ilLocalUser::_getAllUserIds |
( |
|
$a_filter = 0 | ) |
|
|
static |
Definition at line 85 of file class.ilLocalUser.php.
References $DIC, $ilDB, $query, $res, $row, $users, and _getFolderIds().
Referenced by ilLocalUserGUI\assignSave(), ilObjCategoryGUI\assignSaveObject(), ilLocalUserGUI\performDeleteUsers(), and ilObjCategoryGUI\performDeleteUsersObject().
105 $where =
"WHERE time_limit_owner = " .
$ilDB->quote($a_filter,
"integer") .
" ";
110 $query =
"SELECT usr_id FROM usr_data " . $where;
foreach($_POST as $key=> $value) $res
◆ _getFolderIds()
static ilLocalUser::_getFolderIds |
( |
| ) |
|
|
static |
Definition at line 57 of file class.ilLocalUser.php.
References $DIC, $ilDB, $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, and USER_FOLDER_ID.
Referenced by _getAllUserIds(), ilUserTableGUI\getItems(), ilUserTableGUI\getUserIdsForFilter(), ilUserFilter\init(), and ilUserTableGUI\initFilter().
62 $rbacsystem = $DIC[
'rbacsystem'];
64 $query =
"SELECT DISTINCT(time_limit_owner) as parent_id FROM usr_data ";
69 if (!
$row->parent_id) {
71 $parent[] =
$row->parent_id;
76 if ($rbacsystem->checkAccess(
'read_users',
$row->parent_id)
or $rbacsystem->checkAccess(
'cat_administrate_users',
$row->parent_id)) {
77 if (
$row->parent_id) {
78 $parent[] =
$row->parent_id;
82 return $parent ? $parent : array();
foreach($_POST as $key=> $value) $res
const USER_FOLDER_ID
Class ilObjUserFolder.
◆ _getUserData()
static ilLocalUser::_getUserData |
( |
|
$a_filter | ) |
|
|
static |
Definition at line 43 of file class.ilLocalUser.php.
References $users, and ilObjUser\_getAllUserData().
45 include_once
'./Services/User/classes/class.ilObjUser.php';
49 foreach ($users_data as $usr_data) {
50 if (!$a_filter
or $a_filter == $usr_data[
'time_limit_owner']) {
static _getAllUserData($a_fields=null, $active=-1)
STATIC METHOD get all user data.
◆ _getUserFolderId()
static ilLocalUser::_getUserFolderId |
( |
| ) |
|
|
static |
◆ getParentId()
ilLocalUser::getParentId |
( |
| ) |
|
◆ setParentId()
ilLocalUser::setParentId |
( |
|
$a_parent_id | ) |
|
◆ $db
◆ $parent_id
The documentation for this class was generated from the following file: