ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Stores object activation status of orgunit position settings. More...
Public Member Functions | |
__construct ($a_obj_id) | |
Constructor. More... | |
lookupActive ($a_obj_id) | |
Lookup activation status. More... | |
isActive () | |
Check if position access is active. More... | |
setActive ($a_status) | |
Set active for object. More... | |
update () | |
Update object entry. More... | |
delete () | |
Delete record. More... | |
hasObjectSpecificActivation () | |
Protected Member Functions | |
readSettings () | |
Read from db. More... | |
Protected Attributes | |
$db | |
Private Attributes | |
$obj_id | |
$active | |
Stores object activation status of orgunit position settings.
Definition at line 11 of file class.ilOrgUnitObjectPositionSetting.php.
ilOrgUnitObjectPositionSetting::__construct | ( | $a_obj_id | ) |
Constructor.
int | $a_obj_id |
Definition at line 33 of file class.ilOrgUnitObjectPositionSetting.php.
References $GLOBALS, and readSettings().
ilOrgUnitObjectPositionSetting::delete | ( | ) |
Delete record.
Definition at line 99 of file class.ilOrgUnitObjectPositionSetting.php.
References $query.
ilOrgUnitObjectPositionSetting::hasObjectSpecificActivation | ( | ) |
Definition at line 111 of file class.ilOrgUnitObjectPositionSetting.php.
ilOrgUnitObjectPositionSetting::isActive | ( | ) |
Check if position access is active.
This returns true or false if it is object specific or null if the object has no setting.
Definition at line 66 of file class.ilOrgUnitObjectPositionSetting.php.
References $active.
Referenced by update().
ilOrgUnitObjectPositionSetting::lookupActive | ( | $a_obj_id | ) |
Lookup activation status.
int | $a_obj_id |
Definition at line 48 of file class.ilOrgUnitObjectPositionSetting.php.
References $db, $GLOBALS, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
|
protected |
Read from db.
Definition at line 120 of file class.ilOrgUnitObjectPositionSetting.php.
References $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
ilOrgUnitObjectPositionSetting::setActive | ( | $a_status | ) |
Set active for object.
bool | $a_status |
Definition at line 77 of file class.ilOrgUnitObjectPositionSetting.php.
ilOrgUnitObjectPositionSetting::update | ( | ) |
Update object entry.
Definition at line 86 of file class.ilOrgUnitObjectPositionSetting.php.
References isActive().
|
private |
Definition at line 25 of file class.ilOrgUnitObjectPositionSetting.php.
Referenced by isActive().
|
protected |
Definition at line 17 of file class.ilOrgUnitObjectPositionSetting.php.
Referenced by lookupActive().
|
private |
Definition at line 21 of file class.ilOrgUnitObjectPositionSetting.php.