| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Settings for members view More...
 Collaboration diagram for ilMemberViewSettings:
 Collaboration diagram for ilMemberViewSettings:| Public Member Functions | |
| getContainer () | |
| Returns $container. | |
| setContainer ($container) | |
| Sets $container. | |
| isActive () | |
| Check if member view currently enabled. | |
| activate ($a_ref_id) | |
| Enable member view for this session and container. | |
| deactivate () | |
| Deactivate member view. | |
| toggleActivation ($a_ref_id, $a_activation) | |
| Toggle activation status. | |
| isEnabled () | |
| Check if members view is enabled in the administration. | |
| Static Public Member Functions | |
| static | getInstance () | 
| Get instance. | |
| Protected Member Functions | |
| read () | |
| Read settings. | |
| Private Member Functions | |
| __construct () | |
| Constructor (singleton) | |
| Private Attributes | |
| $active = false | |
| $enabled = false | |
| $container = null | |
| $container_items = array() | |
| Static Private Attributes | |
| static | $instance = null | 
Settings for members view
Definition at line 29 of file class.ilMemberViewSettings.php.
| 
 | private | 
Constructor (singleton)
Definition at line 42 of file class.ilMemberViewSettings.php.
References read().
 Here is the call graph for this function:
 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 123 of file class.ilMemberViewSettings.php.
References setContainer().
Referenced by toggleActivation().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilMemberViewSettings::deactivate | ( | ) | 
Deactivate member view.
Definition at line 133 of file class.ilMemberViewSettings.php.
References $_SESSION.
Referenced by toggleActivation().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilMemberViewSettings::getContainer | ( | ) | 
Returns $container.
Definition at line 64 of file class.ilMemberViewSettings.php.
References $container.
Referenced by isActive(), and read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get instance.
Definition at line 51 of file class.ilMemberViewSettings.php.
References $instance.
Referenced by ilConditionHandler\_checkAllConditionsOfTarget(), ilObjCourseAccess\_isActivated(), ilLocatorGUI\addRepositoryItems(), ilObjGroupGUI\checkAgreement(), ilObjCourseGUI\checkAgreement(), ilMainMenuGUI\getHTML(), ilObjectListGUI\insertPreconditions(), ilCache\isDisabled(), ilObjCourseGUI\prepareOutput(), ilMemberViewGUI\showMemberViewSwitch(), and ilContainerGUI\showTreeFlatIcon().
 Here is the caller graph for this function:
 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 $_GET, $ref_id, $target_arr, and getContainer().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilMemberViewSettings::isEnabled | ( | ) | 
Check if members view is enabled in the administration.
Definition at line 162 of file class.ilMemberViewSettings.php.
References $enabled.
| 
 | protected | 
Read settings.
Definition at line 171 of file class.ilMemberViewSettings.php.
References $_SESSION, $ilSetting, and getContainer().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilMemberViewSettings::setContainer | ( | $container | ) | 
Sets $container.
| object | $container | 
Definition at line 74 of file class.ilMemberViewSettings.php.
References $_SESSION, and $container.
Referenced by activate().
 Here is the caller graph for this function:
 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 146 of file class.ilMemberViewSettings.php.
References activate(), and deactivate().
 Here is the call graph for this function:
 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 34 of file class.ilMemberViewSettings.php.
Referenced by isEnabled().
| 
 | staticprivate | 
Definition at line 31 of file class.ilMemberViewSettings.php.
Referenced by getInstance().