| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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) | |
  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) | |
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) | 
| static | _getCommands () | 
| static | _checkGoto (string $target) | 
| 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) | 
| static | _preloadData (array $obj_ids, array $ref_ids) | 
| Preload data.  More... | |
| static | getBookingInfoRepo () | 
| static | _usingRegistrationCode () | 
| static | lookupPeriodInfo (int $a_obj_id) | 
  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... | |
Protected Attributes | |
| ilAccessHandler | $access | 
| ilObjUser | $user | 
| ilLanguage | $lng | 
| ilRbacSystem | $rbacSystem | 
Static Protected Attributes | |
| static bool | $using_code = false | 
| static ILIAS BookingManager Reservations ReservationDBRepository | $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  | 
        ||
| ) | 
Definition at line 76 of file class.ilObjCourseAccess.php.
References ilCourseParticipant\_getInstanceByObjId(), ilCourseParticipants\_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 | 
Definition at line 217 of file class.ilObjCourseAccess.php.
References $DIC, and ANONYMOUS_USER_ID.
      
  | 
  static | 
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(), ilPortfolioPageGUI\getCoursesOfUser(), ilObjCourseListGUI\getProperties(), and ilObjCourse\register().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
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, $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.
Definition at line 399 of file class.ilObjCourseAccess.php.
References $DIC, ilWaitingList\_preloadOnListInfo(), and ilLanguage\loadLanguageModule().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 288 of file class.ilObjCourseAccess.php.
References $DIC, $ilDB, $res, 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 422 of file class.ilObjCourseAccess.php.
Referenced by ilObjCourse\register().
 Here is the caller graph for this function:
      
  | 
  static | 
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 417 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 427 of file class.ilObjCourseAccess.php.
References $DIC, $ilDB, $res, ilDBConstants\FETCHMODE_OBJECT, ilDatePresentation\formatPeriod(), IL_CAL_DATETIME, ilLanguage\loadLanguageModule(), ilDBConstants\T_INTEGER, ilLanguage\txt(), 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, $res, ilDateTime\_before(), ilCourseParticipant\_getInstanceByObjId(), ilDBConstants\FETCHMODE_OBJECT, ilDatePresentation\formatDate(), IL_CAL_UNIX, ILIAS\Repository\int(), ilWaitingList\lookupListSize(), ilCourseConstants\SUBSCRIPTION_LIMITED, ilCourseConstants\SUBSCRIPTION_UNLIMITED, ilDBConstants\T_INTEGER, and ilLanguage\txt().
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.