|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilObjEmployeeTalkAccess:
Collaboration diagram for ilObjEmployeeTalkAccess: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) | |
Public Member Functions inherited from ilObjectAccess | |
| _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) | |
| canBeDelivered (ilWACPath $ilWACPath) | |
Static Public Member Functions | |
| static | getInstance () |
| static | _getCommands () |
| get commands More... | |
| static | _isOffline ($a_obj_id) |
| static | _checkGoto ($a_target) |
Static Public Member Functions inherited from ilObjectAccess | |
| 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.
Here is the call graph for this function:
|
static |
| string | $a_target | check whether goto script will succeed |
Definition at line 94 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'), );
Reimplemented from ilObjectAccess.
Definition at line 70 of file class.ilObjEmployeeTalkAccess.php.
Referenced by ilObjEmployeeTalkListGUI\init().
Here is the caller graph for this function:
|
static |
Definition at line 84 of file class.ilObjEmployeeTalkAccess.php.
| ilObjEmployeeTalkAccess::canCreate | ( | ?ilObjUser | $talkParticipant = null | ) |
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 120 of file class.ilObjEmployeeTalkAccess.php.
References function, getCurrentUsersId(), ilOrgUnitOperation\getOperationString(), ilOrgUnitPermissionQueries\getTemplateSetForContextName(), and ilObjEmployeeTalk\TYPE.
Referenced by ilEmployeeTalkMyStaffListGUI\loadActionBar().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjEmployeeTalkAccess::canDelete | ( | int | $refId | ) |
| int | $refId |
Definition at line 205 of file class.ilObjEmployeeTalkAccess.php.
References $refId, getCurrentUsersId(), and SYSTEM_ROLE_ID.
Here is the call graph for this function:| ilObjEmployeeTalkAccess::canEdit | ( | int | $refId | ) |
| int | $refId |
Definition at line 196 of file class.ilObjEmployeeTalkAccess.php.
References isPermittedToExecuteOperation().
Referenced by isTalkReadonlyByCurrentUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjEmployeeTalkAccess::canEditTalkLockStatus | ( | int | $refId | ) |
Definition at line 179 of file class.ilObjEmployeeTalkAccess.php.
References $refId, and getCurrentUsersId().
Here is the call graph for this function:| ilObjEmployeeTalkAccess::canRead | ( | int | $refId | ) |
Definition at line 174 of file class.ilObjEmployeeTalkAccess.php.
References isPermittedToExecuteOperation().
Here is the call graph for this function:
|
private |
Definition at line 290 of file class.ilObjEmployeeTalkAccess.php.
Referenced by canCreate(), canDelete(), canEditTalkLockStatus(), and isPermittedToExecuteOperation().
Here is the caller graph for this function:
|
static |
Definition at line 38 of file class.ilObjEmployeeTalkAccess.php.
References $instance.
Referenced by ilObjEmployeeTalkGUI\__construct(), and ilMStShowUserGUI\executeCommand().
Here is the caller graph for this function:| ilObjEmployeeTalkAccess::hasPermissionToReadUnownedTalksOfUser | ( | int | $userId | ) |
Definition at line 165 of file class.ilObjEmployeeTalkAccess.php.
|
private |
Definition at line 222 of file class.ilObjEmployeeTalkAccess.php.
References $data, $refId, and getCurrentUsersId().
Referenced by canEdit(), and canRead().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjEmployeeTalkAccess::isTalkReadonlyByCurrentUser | ( | int | $ref_id | ) |
| int | $ref_id |
Definition at line 282 of file class.ilObjEmployeeTalkAccess.php.
References canEdit().
Here is the call graph for this function:
|
private |
Definition at line 34 of file class.ilObjEmployeeTalkAccess.php.
|
staticprivate |
Definition at line 30 of file class.ilObjEmployeeTalkAccess.php.
Referenced by getInstance().
|
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.