|
ILIAS
release_8 Revision v8.24
|
Settings for members view. More...
Collaboration diagram for ilMemberViewSettings:Public Member Functions | |
| getContainer () | |
| getCurrentRefId () | |
| setContainer (int $container) | |
| 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 131 of file class.ilMemberViewSettings.php.
References setContainer().
Referenced by toggleActivation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMemberViewSettings::deactivate | ( | ) |
Definition at line 137 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 196 of file class.ilMemberViewSettings.php.
References $ref_id, $target_arr, ILIAS\Repository\ctrl(), 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 $current_ref_id.
Referenced by isActive(), and read().
Here is the caller graph for this function:
|
static |
Definition at line 55 of file class.ilMemberViewSettings.php.
Referenced by ilObjCourseAccess\_isActivated(), ilObjCourseGUI\checkAgreement(), ilObjGroupGUI\checkAgreement(), ILIAS\Container\Screen\MemberViewLayoutProvider\getMemberViewModeInfo(), ilRbacSystem\initMemberView(), ilCache\isDisabled(), ilObjectListGUI\parseConditions(), ilObjCourseGUI\prepareOutput(), and ilMemberViewGUI\showMemberViewSwitch().
Here is the caller graph for this function:| ilMemberViewSettings::isActive | ( | ) |
Check if member view currently enabled.
Definition at line 85 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 114 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 159 of file class.ilMemberViewSettings.php.
References $enabled.
|
protected |
Read settings.
Definition at line 167 of file class.ilMemberViewSettings.php.
References $current_ref_id, 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::setContainer | ( | int | $container | ) |
Definition at line 70 of file class.ilMemberViewSettings.php.
References $container, and ilSession\set().
Referenced by activate().
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 147 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 setContainer().
|
private |
Definition at line 38 of file class.ilMemberViewSettings.php.
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(), and read().
|
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.