ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilOrgUnitUserAssignmentQueries. More...
Public Member Functions | |
getAssignmentOrFail ($user_id, $position_id, $orgu_id) | |
filterUserIdsDueToAuthorities ($user_id, array $user_ids) | |
getAssignmentsOfUserId ($user_id) | |
getUserIdsOfOrgUnit ($orgunit_ref_id) | |
getUserIdsOfOrgUnits (array $orgunit_ref_id) | |
getUserIdsOfOrgUnitsOfUsersPosition ($position_id, $user_id, $recursive=false) | |
getUserIdsOfOrgUnitsInPosition (array $orgu_ids, $position_id) | |
getUserIdsOfUsersOrgUnitsInPosition ($user_id, $users_position_id, $position_id, $recursive=false) | |
getOrgUnitIdsOfUsersPosition ($position_id, $user_id, $recursive=false) | |
getUserIdsOfPosition ($position_id) | |
getUserAssignmentsOfPosition ($position_id) | |
deleteAllAssignmentsOfUser ($user_id) | |
Static Public Member Functions | |
static | getInstance () |
Static Protected Attributes | |
static | $instance |
Class ilOrgUnitUserAssignmentQueries.
Definition at line 8 of file class.ilOrgUnitUserAssignmentQueries.php.
ilOrgUnitUserAssignmentQueries::deleteAllAssignmentsOfUser | ( | $user_id | ) |
int | $user_id |
Definition at line 220 of file class.ilOrgUnitUserAssignmentQueries.php.
References $DIC.
ilOrgUnitUserAssignmentQueries::filterUserIdsDueToAuthorities | ( | $user_id, | |
array | $user_ids | ||
) |
Definition at line 72 of file class.ilOrgUnitUserAssignmentQueries.php.
ilOrgUnitUserAssignmentQueries::getAssignmentOrFail | ( | $user_id, | |
$position_id, | |||
$orgu_id | |||
) |
int | $user_id | |
int | $position_id | |
int | $orgu_id | Org-Units Ref-ID |
Definition at line 57 of file class.ilOrgUnitUserAssignmentQueries.php.
References ActiveRecord\where().
ilOrgUnitUserAssignmentQueries::getAssignmentsOfUserId | ( | $user_id | ) |
$user_id |
Definition at line 82 of file class.ilOrgUnitUserAssignmentQueries.php.
References ActiveRecord\where().
Referenced by getInstance().
|
static |
Definition at line 20 of file class.ilOrgUnitUserAssignmentQueries.php.
References getAssignmentsOfUserId().
Referenced by ilOrgUnitPositionAccess\__construct(), ilOrgUnitPositionGUI\assign(), ilOrgUnitPositionGUI\confirmDeletion(), ilOrgUnitUserAssignmentGUI\delete(), ilObjUser\delete(), and ilOrgUnitPosition\deleteWithAllDependencies().
ilOrgUnitUserAssignmentQueries::getOrgUnitIdsOfUsersPosition | ( | $position_id, | |
$user_id, | |||
$recursive = false |
|||
) |
$position_id | ||
$user_id | ||
bool | $recursive |
Definition at line 169 of file class.ilOrgUnitUserAssignmentQueries.php.
References $tree, ilObjOrgUnitTree\_getInstance(), and ActiveRecord\where().
Referenced by getUserIdsOfOrgUnitsOfUsersPosition(), and getUserIdsOfUsersOrgUnitsInPosition().
ilOrgUnitUserAssignmentQueries::getUserAssignmentsOfPosition | ( | $position_id | ) |
$position_id |
Definition at line 208 of file class.ilOrgUnitUserAssignmentQueries.php.
References ActiveRecord\where().
ilOrgUnitUserAssignmentQueries::getUserIdsOfOrgUnit | ( | $orgunit_ref_id | ) |
$orgunit_ref_id |
Definition at line 93 of file class.ilOrgUnitUserAssignmentQueries.php.
References ActiveRecord\where().
ilOrgUnitUserAssignmentQueries::getUserIdsOfOrgUnits | ( | array | $orgunit_ref_id | ) |
$orgunit_ref_id |
Definition at line 105 of file class.ilOrgUnitUserAssignmentQueries.php.
References ActiveRecord\where().
ilOrgUnitUserAssignmentQueries::getUserIdsOfOrgUnitsInPosition | ( | array | $orgu_ids, |
$position_id | |||
) |
array | $orgu_ids | |
$position_id |
Definition at line 134 of file class.ilOrgUnitUserAssignmentQueries.php.
References ActiveRecord\where().
ilOrgUnitUserAssignmentQueries::getUserIdsOfOrgUnitsOfUsersPosition | ( | $position_id, | |
$user_id, | |||
$recursive = false |
|||
) |
$position_id | ||
$user_id | ||
bool | $recursive |
Definition at line 121 of file class.ilOrgUnitUserAssignmentQueries.php.
References getOrgUnitIdsOfUsersPosition(), and ActiveRecord\where().
ilOrgUnitUserAssignmentQueries::getUserIdsOfPosition | ( | $position_id | ) |
$position_id |
Definition at line 195 of file class.ilOrgUnitUserAssignmentQueries.php.
References ActiveRecord\where().
ilOrgUnitUserAssignmentQueries::getUserIdsOfUsersOrgUnitsInPosition | ( | $user_id, | |
$users_position_id, | |||
$position_id, | |||
$recursive = false |
|||
) |
$user_id | ||
$users_position_id | ||
$position_id | ||
bool | $recursive |
Definition at line 152 of file class.ilOrgUnitUserAssignmentQueries.php.
References getOrgUnitIdsOfUsersPosition(), and ActiveRecord\where().
|
staticprotected |
Definition at line 14 of file class.ilOrgUnitUserAssignmentQueries.php.