ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Settings for members view More...
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... | |
Protected Attributes | |
$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 |
Settings for members view
Definition at line 29 of file class.ilMemberViewSettings.php.
|
private |
Constructor (singleton)
Definition at line 54 of file class.ilMemberViewSettings.php.
References $DIC, read(), and settings().
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 158 of file class.ilMemberViewSettings.php.
References setContainer().
Referenced by toggleActivation().
ilMemberViewSettings::deactivate | ( | ) |
Deactivate member view.
Definition at line 168 of file class.ilMemberViewSettings.php.
References $_SESSION.
Referenced by toggleActivation().
|
protected |
Find effective ref_id for request.
Definition at line 226 of file class.ilMemberViewSettings.php.
References $_GET, and $target_arr.
Referenced by read().
ilMemberViewSettings::getContainer | ( | ) |
Returns $container.
Definition at line 79 of file class.ilMemberViewSettings.php.
References $container.
Referenced by isActive(), isActiveForRefId(), and read().
ilMemberViewSettings::getCurrentRefId | ( | ) |
Get current ref_id of request.
Definition at line 88 of file class.ilMemberViewSettings.php.
References $current_ref_id.
Referenced by isActive().
|
static |
Get instance.
Definition at line 67 of file class.ilMemberViewSettings.php.
Referenced by LTI\ilMainMenuGUI\__construct(), ilMainMenuGUI\__construct(), ilConditionHandler\_checkAllConditionsOfTarget(), ilObjCourseAccess\_isActivated(), ilInfoScreenGUI\addPreconditionSection(), ilLocatorGUI\addRepositoryItems(), ilObjGroupGUI\checkAgreement(), ilObjCourseGUI\checkAgreement(), ilAccess\doPathCheck(), ilRbacSystem\initMemberView(), ilMainMenuGUI\initMemberView(), ilCache\isDisabled(), ilObjectListGUI\parseConditions(), ilObjCourseGUI\prepareOutput(), ilMemberViewGUI\showMemberViewSwitch(), and ilContainerGUI\showTreeFlatIcon().
ilMemberViewSettings::isActive | ( | ) |
Check if member view currently enabled.
Definition at line 109 of file class.ilMemberViewSettings.php.
References $tree, getContainer(), and getCurrentRefId().
ilMemberViewSettings::isActiveForRefId | ( | $a_ref_id | ) |
Check if member view is currently enabled for given ref id.
int | $a_ref_id |
Definition at line 137 of file class.ilMemberViewSettings.php.
References getContainer().
ilMemberViewSettings::isEnabled | ( | ) |
Check if members view is enabled in the administration.
Definition at line 194 of file class.ilMemberViewSettings.php.
References $enabled.
|
protected |
Read settings.
Definition at line 203 of file class.ilMemberViewSettings.php.
References $_SESSION, $ilSetting, $settings, $tree, findEffectiveRefId(), and getContainer().
Referenced by __construct().
ilMemberViewSettings::setContainer | ( | $container | ) |
Sets $container.
object | $container |
Definition at line 98 of file class.ilMemberViewSettings.php.
References $_SESSION, and $container.
Referenced by activate().
ilMemberViewSettings::toggleActivation | ( | $a_ref_id, | |
$a_activation | |||
) |
Toggle activation status.
int | $a_ref_id | |
bool | $a_activation |
Definition at line 181 of file class.ilMemberViewSettings.php.
References activate(), and deactivate().
|
private |
Definition at line 43 of file class.ilMemberViewSettings.php.
|
private |
Definition at line 45 of file class.ilMemberViewSettings.php.
Referenced by getContainer(), and setContainer().
|
private |
Definition at line 46 of file class.ilMemberViewSettings.php.
|
private |
Definition at line 48 of file class.ilMemberViewSettings.php.
Referenced by getCurrentRefId().
|
private |
Definition at line 44 of file class.ilMemberViewSettings.php.
Referenced by isEnabled().
|
staticprivate |
Definition at line 41 of file class.ilMemberViewSettings.php.
|
protected |
Definition at line 39 of file class.ilMemberViewSettings.php.
Referenced by read().
|
protected |
Definition at line 34 of file class.ilMemberViewSettings.php.
Referenced by isActive(), and read().