ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Class ilObjGroupAccess. More...
Public Member Functions | |
_checkAccess (string $cmd, string $permission, int $ref_id, int $obj_id, ?int $user_id=null) | |
@inheritDoc More... | |
![]() | |
_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 | _getCommands () |
@inheritDoc More... | |
static | _checkGoto (string $target) |
@inheritDoc More... | |
static | _registrationEnabled (int $a_obj_id) |
static | _preloadData (array $obj_ids, array $ref_ids) |
@inheritDoc More... | |
static | lookupRegistrationInfo (int $a_obj_id) |
static | lookupPeriodInfo (int $a_obj_id) |
static | _usingRegistrationCode () |
![]() | |
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 Protected Attributes | |
static bool | $using_code = false |
ilObjGroupAccess::_checkAccess | ( | string | $cmd, |
string | $permission, | ||
int | $ref_id, | ||
int | $obj_id, | ||
?int | $user_id = null |
||
) |
@inheritDoc
Reimplemented from ilObjectAccess.
Definition at line 36 of file class.ilObjGroupAccess.php.
References $DIC, $lng, $ref_id, $user_id, ilWaitingList\_isOnList(), ilGroupParticipants\_isParticipant(), ilDatePresentation\formatDate(), ilAccessInfo\IL_STATUS_INFO, and ilObjGroup\mayLeave().
|
static |
@inheritDoc
Reimplemented from ilObjectAccess.
Definition at line 138 of file class.ilObjGroupAccess.php.
References $DIC, and ANONYMOUS_USER_ID.
|
static |
@inheritDoc
Reimplemented from ilObjectAccess.
Definition at line 111 of file class.ilObjGroupAccess.php.
References ilDAVActivationChecker\_isActive().
Referenced by ilObjGroupReferenceAccess\_getCommands(), and ilObjGroupListGUI\init().
|
static |
@inheritDoc
Reimplemented from ilObjectAccess.
Definition at line 198 of file class.ilObjGroupAccess.php.
References $DIC, $ilDB, and ilWaitingList\_preloadOnListInfo().
|
static |
Definition at line 163 of file class.ilObjGroupAccess.php.
References $DIC, $ilDB, $res, ilDateTime\_after(), ilDateTime\_before(), ilDBConstants\FETCHMODE_OBJECT, IL_CAL_DATETIME, and IL_CAL_UNIX.
|
static |
Definition at line 330 of file class.ilObjGroupAccess.php.
References $using_code.
Referenced by ilObjGroup\register().
|
static |
int | $a_obj_id |
ilDateTimeException |
Definition at line 289 of file class.ilObjGroupAccess.php.
References $DIC, $ilDB, $lng, $res, ilDBConstants\FETCHMODE_OBJECT, ilDatePresentation\formatPeriod(), IL_CAL_DATETIME, ilDBConstants\T_INTEGER, and ilTimeZone\UTC.
Referenced by ilObjGroupListGUI\getProperties().
|
static |
Definition at line 208 of file class.ilObjGroupAccess.php.
References $DIC, $ilDB, $info, $lng, $res, ilDateTime\_before(), ilGroupParticipants\_getInstanceByObjId(), ilDBConstants\FETCHMODE_OBJECT, ilDatePresentation\formatDate(), IL_CAL_DATETIME, IL_CAL_UNIX, ilWaitingList\lookupListSize(), and ilDBConstants\T_INTEGER.
Referenced by ilGroupRegistrationGUI\fillMaxMembers(), ilObjGroupListGUI\getProperties(), and ilObjGroupGUI\infoScreen().
|
staticprotected |
Definition at line 31 of file class.ilObjGroupAccess.php.
Referenced by _usingRegistrationCode().