|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilObjCourseAccess:
Collaboration diagram for ilObjCourseAccess:Public Member Functions | |
| __construct () | |
| _checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null) | |
| @inheritDoc More... | |
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 | getConditionOperators () |
| Get operators. More... | |
| static | checkCondition (int $a_trigger_obj_id, string $a_operator, string $a_value, int $a_usr_id) |
| @inheritDoc More... | |
| static | _getCommands () |
| @inheritDoc More... | |
| static | _checkGoto (string $target) |
| @inheritDoc More... | |
| static | _lookupViewMode (int $a_id) |
| static | _isActivated (int $a_obj_id, ?bool &$a_visible_flag=null, bool $a_mind_member_view=true) |
| static | _registrationEnabled (int $a_obj_id) |
| static | lookupRegistrationInfo (int $a_obj_id) |
| 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... | |
| static | getBookingInfoRepo () |
| static | _usingRegistrationCode () |
| static | lookupPeriodInfo (int $a_obj_id) |
| 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... | |
| static | getConditionOperators () |
| Returns an array with valid operators for the specific object type. More... | |
| static | checkCondition (int $a_trigger_obj_id, string $a_operator, string $a_value, int $a_usr_id) |
| check condition for a specific user and object More... | |
Protected Attributes | |
| ilAccessHandler | $access |
| ilObjUser | $user |
| ilLanguage | $lng |
| ilRbacSystem | $rbacSystem |
Static Protected Attributes | |
| static bool | $using_code = false |
| static ilBookingReservationDBRepository | $booking_repo = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilObjCourseAccess
Definition at line 26 of file class.ilObjCourseAccess.php.
| ilObjCourseAccess::__construct | ( | ) |
Definition at line 36 of file class.ilObjCourseAccess.php.
References $DIC, ILIAS\Repository\access(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilObjCourseAccess::_checkAccess | ( | string | $cmd, |
| string | $permission, | ||
| int | $ref_id, | ||
| int | $obj_id, | ||
| ?int | $user_id = null |
||
| ) |
@inheritDoc
Reimplemented from ilObjectAccess.
Definition at line 76 of file class.ilObjCourseAccess.php.
References $ref_id, ilCourseParticipants\_getInstanceByObjId(), ilCourseParticipant\_getInstanceByObjId(), ilWaitingList\_isOnList(), ILIAS\Repository\access(), ilDatePresentation\formatDate(), ilAccessInfo\IL_NO_OBJECT_ACCESS, ilAccessInfo\IL_STATUS_INFO, ILIAS\Repository\lng(), ilObjCourse\mayLeave(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
static |
@inheritDoc
Reimplemented from ilObjectAccess.
Definition at line 217 of file class.ilObjCourseAccess.php.
References $DIC, $ilUser, and ANONYMOUS_USER_ID.
|
static |
@inheritDoc
Reimplemented from ilObjectAccess.
Definition at line 188 of file class.ilObjCourseAccess.php.
References ilDAVActivationChecker\_isActive().
Referenced by ilObjCourseReferenceAccess\_getCommands(), and ilObjCourseListGUI\init().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 260 of file class.ilObjCourseAccess.php.
References $ref_id, ilObject\_getAllReferences(), ilMemberViewSettings\getInstance(), ilObjectActivation\getItem(), and ilObjectActivation\TIMINGS_ACTIVATION.
Referenced by ilObjCourse\_isActivated(), ilObjCourseListGUI\getProperties(), and ilObjCourse\register().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Type-specific implementation of general status, has to be overwritten if object type does not support centralized offline handling.
Used in ListGUI and Learning Progress
Reimplemented from ilObjectAccess.
Definition at line 390 of file class.ilObjCourseAccess.php.
Referenced by ilObjCourse\register().
Here is the caller graph for this function:
|
static |
Definition at line 246 of file class.ilObjCourseAccess.php.
References $DIC, $ilDB, $query, $res, ilDBConstants\FETCHMODE_OBJECT, and ilContainer\VIEW_DEFAULT.
Referenced by ilObjFolder\getViewMode(), ilObjGroup\getViewMode(), and ilObjGroupGUI\initForm().
Here is the caller graph for this function:
|
static |
Preload data.
Reimplemented from ilObjectAccess.
Definition at line 399 of file class.ilObjCourseAccess.php.
References $DIC, Vendor\Package\$f, $ilUser, $lng, and ilWaitingList\_preloadOnListInfo().
Here is the call graph for this function:
|
static |
Definition at line 288 of file class.ilObjCourseAccess.php.
References $DIC, $ilDB, $query, $res, $type, ilDBConstants\FETCHMODE_OBJECT, ilCourseConstants\IL_CRS_SUBSCRIPTION_DEACTIVATED, ilCourseConstants\IL_CRS_SUBSCRIPTION_LIMITED, and ilCourseConstants\IL_CRS_SUBSCRIPTION_UNLIMITED.
Referenced by ilObjCourse\_registrationEnabled().
Here is the caller graph for this function:
|
static |
Definition at line 423 of file class.ilObjCourseAccess.php.
Referenced by ilObjCourse\register().
Here is the caller graph for this function:
|
static |
@inheritDoc
Implements ilConditionHandling.
Definition at line 60 of file class.ilObjCourseAccess.php.
References ilParticipants\_hasPassed(), and ilConditionHandler\OPERATOR_PASSED.
Here is the call graph for this function:
|
static |
Definition at line 418 of file class.ilObjCourseAccess.php.
Referenced by ilObjCourseListGUI\getProperties().
Here is the caller graph for this function:
|
static |
Get operators.
Implements ilConditionHandling.
Definition at line 50 of file class.ilObjCourseAccess.php.
References ilConditionHandler\OPERATOR_PASSED.
|
static |
Definition at line 428 of file class.ilObjCourseAccess.php.
References $DIC, $ilDB, $lng, $query, $res, ilDBConstants\FETCHMODE_OBJECT, ilDatePresentation\formatPeriod(), IL_CAL_DATETIME, ilDBConstants\T_INTEGER, and ilTimeZone\UTC.
Referenced by ilCourseMailTemplateMemberContext\getCachedPeriodByObjId(), ilCourseMailTemplateTutorContext\getCachedPeriodByObjId(), and ilObjCourseListGUI\getProperties().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 323 of file class.ilObjCourseAccess.php.
References $DIC, $ilDB, $ilUser, $lng, $query, $res, ilDateTime\_before(), ilCourseParticipant\_getInstanceByObjId(), ilDBConstants\FETCHMODE_OBJECT, ilDatePresentation\formatDate(), IL_CAL_UNIX, ILIAS\Repository\int(), ilWaitingList\lookupListSize(), ilCourseConstants\SUBSCRIPTION_LIMITED, ilCourseConstants\SUBSCRIPTION_UNLIMITED, and ilDBConstants\T_INTEGER.
Referenced by ilCourseRegistrationGUI\fillMaxMembers(), ilObjCourseListGUI\getProperties(), and ilObjCourseGUI\infoScreen().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 31 of file class.ilObjCourseAccess.php.
|
staticprotected |
Definition at line 29 of file class.ilObjCourseAccess.php.
|
protected |
Definition at line 33 of file class.ilObjCourseAccess.php.
|
protected |
Definition at line 34 of file class.ilObjCourseAccess.php.
|
protected |
Definition at line 32 of file class.ilObjCourseAccess.php.
|
staticprotected |
Definition at line 28 of file class.ilObjCourseAccess.php.