|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
@classDescription Settings for members view More...
Collaboration diagram for ilMemberViewSettings:Public Member Functions | |
| getContainer () | |
| Returns $container. More... | |
| getCurrentRefId () | |
| Get current ref_id of request. More... | |
| setContainer ($container) | |
| Sets $container. More... | |
| isActive () | |
| Check if member view currently enabled. More... | |
| isActiveForRefId ($a_ref_id) | |
| Check if member view is currently enabled for given ref id. More... | |
| activate ($a_ref_id) | |
| Enable member view for this session and container. More... | |
| deactivate () | |
| Deactivate member view. More... | |
| toggleActivation ($a_ref_id, $a_activation) | |
| Toggle activation status. More... | |
| isEnabled () | |
| Check if members view is enabled in the administration. More... | |
Static Public Member Functions | |
| static | getInstance () |
| Get instance. More... | |
Protected Member Functions | |
| read () | |
| Read settings. More... | |
| findEffectiveRefId () | |
| Find effective ref_id for request. More... | |
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 29 of file class.ilMemberViewSettings.php.
|
private |
Constructor (singleton)
Definition at line 44 of file class.ilMemberViewSettings.php.
References read().
Here is the call graph for this function:| ilMemberViewSettings::activate | ( | $a_ref_id | ) |
Enable member view for this session and container.
| int | $a_ref_id | Reference Id of course or group |
| IllegalArgumentException | Thrown if reference id is not a course or group |
Definition at line 150 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 160 of file class.ilMemberViewSettings.php.
References $_SESSION.
Referenced by toggleActivation().
Here is the caller graph for this function:
|
protected |
Find effective ref_id for request.
Definition at line 221 of file class.ilMemberViewSettings.php.
References $_GET, and $target_arr.
Referenced by read().
Here is the caller graph for this function:| ilMemberViewSettings::getContainer | ( | ) |
Returns $container.
Definition at line 66 of file class.ilMemberViewSettings.php.
References $container.
Referenced by isActive(), isActiveForRefId(), and read().
Here is the caller graph for this function:| ilMemberViewSettings::getCurrentRefId | ( | ) |
Get current ref_id of request.
Definition at line 75 of file class.ilMemberViewSettings.php.
References $current_ref_id.
Referenced by isActive().
Here is the caller graph for this function:
|
static |
Get instance.
Definition at line 53 of file class.ilMemberViewSettings.php.
References $instance.
Referenced by ilConditionHandler\_checkAllConditionsOfTarget(), ilObjCourseAccess\_isActivated(), ilLocatorGUI\addRepositoryItems(), ilObjCourseGUI\checkAgreement(), ilObjGroupGUI\checkAgreement(), ilAccessHandler\doActivationCheck(), ilMainMenuGUI\ilMainMenuGUI(), 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 96 of file class.ilMemberViewSettings.php.
References getContainer(), and getCurrentRefId().
Here is the call graph for this function:| ilMemberViewSettings::isActiveForRefId | ( | $a_ref_id | ) |
Check if member view is currently enabled for given ref id.
| int | $a_ref_id |
Definition at line 127 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 189 of file class.ilMemberViewSettings.php.
References $enabled.
|
protected |
Read settings.
Definition at line 198 of file class.ilMemberViewSettings.php.
References $_SESSION, $ilSetting, findEffectiveRefId(), and getContainer().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilMemberViewSettings::setContainer | ( | $container | ) |
Sets $container.
| object | $container |
Definition at line 85 of file class.ilMemberViewSettings.php.
References $_SESSION, and $container.
Referenced by activate().
Here is the caller graph for this function:| ilMemberViewSettings::toggleActivation | ( | $a_ref_id, | |
| $a_activation | |||
| ) |
Toggle activation status.
| int | $a_ref_id | |
| bool | $a_activation |
Definition at line 173 of file class.ilMemberViewSettings.php.
References activate(), and deactivate().
Here is the call graph for this function:
|
private |
Definition at line 33 of file class.ilMemberViewSettings.php.
|
private |
Definition at line 35 of file class.ilMemberViewSettings.php.
Referenced by getContainer(), and setContainer().
|
private |
Definition at line 36 of file class.ilMemberViewSettings.php.
|
private |
Definition at line 38 of file class.ilMemberViewSettings.php.
Referenced by getCurrentRefId().
|
private |
Definition at line 34 of file class.ilMemberViewSettings.php.
Referenced by isEnabled().
|
staticprivate |
Definition at line 31 of file class.ilMemberViewSettings.php.
Referenced by getInstance().