ILIAS
release_4-3 Revision
|
Settings for members view More...
Public Member Functions | |
getContainer () | |
Returns $container. | |
setContainer ($container) | |
Sets $container. | |
isActive () | |
Check if member view currently enabled. | |
isActiveForRefId ($a_ref_id) | |
Check if member view is currently enabled for given ref id. | |
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().
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 145 of file class.ilMemberViewSettings.php.
References setContainer().
Referenced by toggleActivation().
ilMemberViewSettings::deactivate | ( | ) |
Deactivate member view.
Definition at line 155 of file class.ilMemberViewSettings.php.
References $_SESSION.
Referenced by toggleActivation().
ilMemberViewSettings::getContainer | ( | ) |
Returns $container.
Definition at line 64 of file class.ilMemberViewSettings.php.
References $container.
Referenced by isActive(), isActiveForRefId(), and read().
|
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(), ilAccessHandler\doActivationCheck(), ilMainMenuGUI\getHTML(), ilCache\isDisabled(), ilObjectListGUI\parseConditions(), ilObjCourseGUI\prepareOutput(), ilMemberViewGUI\showMemberViewSwitch(), and ilContainerGUI\showTreeFlatIcon().
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().
ilMemberViewSettings::isActiveForRefId | ( | $a_ref_id | ) |
Check if member view is currently enabled for given ref id.
int | $a_ref_id |
Definition at line 122 of file class.ilMemberViewSettings.php.
References getContainer().
ilMemberViewSettings::isEnabled | ( | ) |
Check if members view is enabled in the administration.
Definition at line 184 of file class.ilMemberViewSettings.php.
References $enabled.
|
protected |
Read settings.
Definition at line 193 of file class.ilMemberViewSettings.php.
References $_SESSION, $ilSetting, and getContainer().
Referenced by __construct().
ilMemberViewSettings::setContainer | ( | $container | ) |
Sets $container.
object | $container |
Definition at line 74 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 168 of file class.ilMemberViewSettings.php.
References activate(), and deactivate().
|
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().