ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
__construct () | |
canCreate (?ilObjUser $talkParticipant=null) | |
Checks if the user is allowed to create a new talks series. More... | |
hasPermissionToReadUnownedTalksOfUser (int $userId) | |
canRead (int $refId) | |
canEditTalkLockStatus (int $refId) | |
canEdit (int $refId) | |
canDelete (int $refId) | |
isTalkReadonlyByCurrentUser (int $ref_id) | |
![]() | |
_checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null) | |
Checks whether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More... | |
canBeDelivered (ilWACPath $ilWACPath) | |
Static Public Member Functions | |
static | getInstance () |
static | _getCommands () |
get commands More... | |
static | _isOffline ($obj_id) |
static | _checkGoto ($target) |
![]() | |
static | _getCommands () |
get commands More... | |
static | _checkGoto (string $target) |
check whether goto script will succeed More... | |
static | _isOffline (int $obj_id) |
Type-specific implementation of general status, has to be overwritten if object type does not support centralized offline handling. More... | |
static | _preloadData (array $obj_ids, array $ref_ids) |
Preload data. More... | |
Private Member Functions | |
isPermittedToExecuteOperation (int $refId, string $operation) | |
getCurrentUsersId () | |
Private Attributes | |
ilOrgUnitUserAssignmentQueries | $ua |
ilOrgUnitGlobalSettings | $set |
IlOrgUnitPositionAccess | $orgUnitAccess |
Container | $container |
ilOrgUnitObjectTypePositionSetting | $talkPositionSettings |
IliasDBEmployeeTalkSeriesRepository | $seriesSettingsRepository |
Static Private Attributes | |
static self | $instance = null |
Definition at line 28 of file class.ilObjEmployeeTalkAccess.php.
ilObjEmployeeTalkAccess::__construct | ( | ) |
Definition at line 47 of file class.ilObjEmployeeTalkAccess.php.
References $GLOBALS, ilOrgUnitUserAssignmentQueries\getInstance(), ilOrgUnitGlobalSettings\getInstance(), and ilObjEmployeeTalk\TYPE.
|
static |
Definition at line 89 of file class.ilObjEmployeeTalkAccess.php.
|
static |
get commands
this method returns an array of all possible commands/permission combinations
example: $commands = array ( array('permission' => 'read', 'cmd' => 'view', 'lang_var' => 'show'), array('permission' => 'write', 'cmd' => 'edit', 'lang_var' => 'edit'), );
Definition at line 70 of file class.ilObjEmployeeTalkAccess.php.
References ILIAS\Forum\Notification\DEFAULT.
Referenced by ilObjEmployeeTalkListGUI\init().
|
static |
Definition at line 84 of file class.ilObjEmployeeTalkAccess.php.
Checks if the user is allowed to create a new talks series.
If no user is given only the position right is checked, which can be used to display create or new buttons based on the general position rights of the user.
If the user is given, only positions with an authority over the given user are used to check the position rights.
ilObjUser | null | $talkParticipant | The talk participant which should get invited into the new talk. |
Definition at line 115 of file class.ilObjEmployeeTalkAccess.php.
References getCurrentUsersId(), ilOrgUnitPermissionQueries\getTemplateSetForContextName(), null, and ilObjEmployeeTalk\TYPE.
ilObjEmployeeTalkAccess::canDelete | ( | int | $refId | ) |
int | $refId |
Definition at line 200 of file class.ilObjEmployeeTalkAccess.php.
References getCurrentUsersId(), and SYSTEM_ROLE_ID.
ilObjEmployeeTalkAccess::canEdit | ( | int | $refId | ) |
int | $refId |
Definition at line 191 of file class.ilObjEmployeeTalkAccess.php.
References isPermittedToExecuteOperation().
Referenced by isTalkReadonlyByCurrentUser().
ilObjEmployeeTalkAccess::canEditTalkLockStatus | ( | int | $refId | ) |
Definition at line 174 of file class.ilObjEmployeeTalkAccess.php.
References getCurrentUsersId().
ilObjEmployeeTalkAccess::canRead | ( | int | $refId | ) |
Definition at line 169 of file class.ilObjEmployeeTalkAccess.php.
References isPermittedToExecuteOperation().
|
private |
Definition at line 285 of file class.ilObjEmployeeTalkAccess.php.
References ilObject\getId(), ilOrgUnitPermissionQueries\getTemplateSetForContextName(), and ilObjEmployeeTalk\TYPE.
Referenced by canCreate(), canDelete(), canEditTalkLockStatus(), and isPermittedToExecuteOperation().
|
static |
Definition at line 38 of file class.ilObjEmployeeTalkAccess.php.
Referenced by ilObjEmployeeTalkGUI\__construct().
ilObjEmployeeTalkAccess::hasPermissionToReadUnownedTalksOfUser | ( | int | $userId | ) |
|
private |
Definition at line 217 of file class.ilObjEmployeeTalkAccess.php.
References $data, and getCurrentUsersId().
Referenced by canEdit(), and canRead().
ilObjEmployeeTalkAccess::isTalkReadonlyByCurrentUser | ( | int | $ref_id | ) |
int | $ref_id |
Definition at line 277 of file class.ilObjEmployeeTalkAccess.php.
References canEdit().
|
private |
Definition at line 34 of file class.ilObjEmployeeTalkAccess.php.
|
staticprivate |
Definition at line 30 of file class.ilObjEmployeeTalkAccess.php.
|
private |
Definition at line 33 of file class.ilObjEmployeeTalkAccess.php.
|
private |
Definition at line 36 of file class.ilObjEmployeeTalkAccess.php.
|
private |
Definition at line 32 of file class.ilObjEmployeeTalkAccess.php.
|
private |
Definition at line 35 of file class.ilObjEmployeeTalkAccess.php.
|
private |
Definition at line 31 of file class.ilObjEmployeeTalkAccess.php.