|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
@classDescription 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 () | |
| Deactivate member view. More... | |
| 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 | |
| $logger | |
| $request | |
| $ctrl | |
| $tree | |
| $settings | |
Private Member Functions | |
| __construct () | |
| Constructor (singleton) More... | |
Private Attributes | |
| $active = false | |
| $enabled = false | |
| $container = null | |
| $container_items = array() | |
| $current_ref_id = 0 | |
Static Private Attributes | |
| static | $instance = null |
@classDescription Settings for members view
Definition at line 31 of file class.ilMemberViewSettings.php.
|
private |
Constructor (singleton)
Definition at line 93 of file class.ilMemberViewSettings.php.
References $DIC, read(), and settings().
Here is the call graph for this function:| ilMemberViewSettings::activate | ( | int | $a_ref_id | ) |
Enable member view for this session and container.
| int | $a_ref_id |
Definition at line 196 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 | ( | ) |
Deactivate member view.
Definition at line 206 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 268 of file class.ilMemberViewSettings.php.
References $target_arr.
Referenced by read().
Here is the caller graph for this function:| ilMemberViewSettings::getContainer | ( | ) |
Definition at line 120 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 128 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 109 of file class.ilMemberViewSettings.php.
References $instance.
Referenced by ilMainMenuGUI\__construct(), ilConditionHandler\_checkAllConditionsOfTarget(), ilObjCourseAccess\_isActivated(), ilInfoScreenGUI\addPreconditionSection(), ilObjCourseGUI\checkAgreement(), ilObjGroupGUI\checkAgreement(), ILIAS\Container\Screen\MemberViewLayoutProvider\getMemberViewModeInfo(), ilRbacSystem\initMemberView(), ilMainMenuGUI\initMemberView(), ilCache\isDisabled(), ilObjectListGUI\parseConditions(), ilObjCourseGUI\prepareOutput(), ilMemberViewGUI\showMemberViewSwitch(), and ilContainerGUI\showTreeFlatIcon().
Here is the caller graph for this function:| ilMemberViewSettings::isActive | ( | ) |
Check if member view currently enabled.
Definition at line 147 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.
| int | $a_ref_id |
Definition at line 178 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 231 of file class.ilMemberViewSettings.php.
References $enabled.
|
protected |
Read settings.
Definition at line 239 of file class.ilMemberViewSettings.php.
References $current_ref_id, deactivate(), findEffectiveRefId(), ilSession\get(), getContainer(), and getCurrentRefId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMemberViewSettings::setContainer | ( | int | $container | ) |
| int | $container |
Definition at line 136 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.
| int | $a_ref_id | |
| bool | $a_activation |
Definition at line 218 of file class.ilMemberViewSettings.php.
References activate(), and deactivate().
Here is the call graph for this function:
|
private |
Definition at line 68 of file class.ilMemberViewSettings.php.
|
private |
Definition at line 78 of file class.ilMemberViewSettings.php.
Referenced by getContainer(), and setContainer().
|
private |
Definition at line 83 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 48 of file class.ilMemberViewSettings.php.
|
private |
Definition at line 88 of file class.ilMemberViewSettings.php.
Referenced by getCurrentRefId(), and read().
|
private |
Definition at line 73 of file class.ilMemberViewSettings.php.
Referenced by isEnabled().
|
staticprivate |
Definition at line 63 of file class.ilMemberViewSettings.php.
Referenced by getInstance().
|
protected |
Definition at line 38 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 43 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 58 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 53 of file class.ilMemberViewSettings.php.
| const ilMemberViewSettings::SESSION_MEMBER_VIEW_CONTAINER = 'member_view_container' |
Definition at line 33 of file class.ilMemberViewSettings.php.