|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Settings for members view. More...
Collaboration diagram for ilMemberViewSettings:Public Member Functions | |
| getContainer () | |
| getCurrentRefId () | |
| isActive () | |
| Check if member view currently enabled. More... | |
| isActiveForRefId (int $a_ref_id) | |
| Check if member view is currently enabled for given ref id. More... | |
| activate (int $a_ref_id) | |
| Enable member view for this session and container. More... | |
| deactivate () | |
| toggleActivation (int $a_ref_id, bool $a_activation) | |
| Toggle activation status. More... | |
| isEnabled () | |
| Check if members view is enabled in the administration. More... | |
Static Public Member Functions | |
| static | getInstance () |
Data Fields | |
| const | SESSION_MEMBER_VIEW_CONTAINER = 'member_view_container' |
Protected Member Functions | |
| read () | |
| Read settings. More... | |
| findEffectiveRefId () | |
| Find effective ref_id for request. More... | |
Protected Attributes | |
| ilLogger | $logger |
| RequestInterface | $request |
| ilCtrl | $ctrl |
| ilTree | $tree |
| ilSetting | $settings |
| Container Service | $container_service |
Private Member Functions | |
| __construct () | |
Private Attributes | |
| bool | $active = false |
| bool | $enabled = false |
| int | $container = null |
| array | $container_items = [] |
| int | $current_ref_id = 0 |
Static Private Attributes | |
| static ilMemberViewSettings | $instance = null |
Settings for members view.
Definition at line 26 of file class.ilMemberViewSettings.php.
|
private |
Definition at line 42 of file class.ilMemberViewSettings.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\logger(), read(), and ILIAS\Repository\settings().
Here is the call graph for this function:| ilMemberViewSettings::activate | ( | int | $a_ref_id | ) |
Enable member view for this session and container.
Definition at line 133 of file class.ilMemberViewSettings.php.
Referenced by toggleActivation().
Here is the caller graph for this function:| ilMemberViewSettings::deactivate | ( | ) |
Definition at line 139 of file class.ilMemberViewSettings.php.
References ilSession\clear().
Referenced by read(), and toggleActivation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Find effective ref_id for request.
Definition at line 198 of file class.ilMemberViewSettings.php.
References $ref_id, and ILIAS\Repository\int().
Referenced by read().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMemberViewSettings::getContainer | ( | ) |
Definition at line 60 of file class.ilMemberViewSettings.php.
References $container.
Referenced by isActive(), isActiveForRefId(), and read().
Here is the caller graph for this function:| ilMemberViewSettings::getCurrentRefId | ( | ) |
Definition at line 65 of file class.ilMemberViewSettings.php.
References $container, $current_ref_id, ilObjectFactory\getInstanceByRefId(), and ilSession\set().
Referenced by isActive(), and read().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 55 of file class.ilMemberViewSettings.php.
Referenced by ilConditionHandler\_checkAllConditionsOfTarget(), ilObjCourseAccess\_isActivated(), ilInfoScreenGUI\addPreconditionSection(), ilObjGroupGUI\checkAgreement(), ilObjCourseGUI\checkAgreement(), ilAccess\doActivationCheck(), ILIAS\Container\Screen\MemberViewLayoutProvider\getMemberViewModeInfo(), ilRbacSystem\initMemberView(), ilCache\isDisabled(), ilObjectListGUI\parseConditions(), ilMemberViewGUI\showMemberViewSwitch(), and ilIndividualAssessmentAccessHandler\simulateMember().
Here is the caller graph for this function:| ilMemberViewSettings::isActive | ( | ) |
Check if member view currently enabled.
Definition at line 87 of file class.ilMemberViewSettings.php.
References getContainer(), and getCurrentRefId().
Here is the call graph for this function:| ilMemberViewSettings::isActiveForRefId | ( | int | $a_ref_id | ) |
Check if member view is currently enabled for given ref id.
Definition at line 116 of file class.ilMemberViewSettings.php.
References getContainer().
Here is the call graph for this function:| ilMemberViewSettings::isEnabled | ( | ) |
Check if members view is enabled in the administration.
Definition at line 161 of file class.ilMemberViewSettings.php.
References $enabled.
|
protected |
Read settings.
Definition at line 169 of file class.ilMemberViewSettings.php.
References deactivate(), findEffectiveRefId(), ilSession\get(), getContainer(), getCurrentRefId(), and ILIAS\Repository\int().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMemberViewSettings::toggleActivation | ( | int | $a_ref_id, |
| bool | $a_activation | ||
| ) |
Toggle activation status.
Definition at line 149 of file class.ilMemberViewSettings.php.
References activate(), and deactivate().
Here is the call graph for this function:
|
private |
Definition at line 35 of file class.ilMemberViewSettings.php.
|
private |
Definition at line 37 of file class.ilMemberViewSettings.php.
Referenced by getContainer(), and getCurrentRefId().
|
private |
Definition at line 38 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 40 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 31 of file class.ilMemberViewSettings.php.
|
private |
Definition at line 39 of file class.ilMemberViewSettings.php.
Referenced by getCurrentRefId().
|
private |
Definition at line 36 of file class.ilMemberViewSettings.php.
Referenced by isEnabled().
|
staticprivate |
Definition at line 34 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 29 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 30 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 33 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 32 of file class.ilMemberViewSettings.php.
| const ilMemberViewSettings::SESSION_MEMBER_VIEW_CONTAINER = 'member_view_container' |
Definition at line 28 of file class.ilMemberViewSettings.php.