ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Object settings regarding position permissions. More...
Public Member Functions | |
__construct ($a_obj_type) | |
Constructor. More... | |
setActive ($a_active) | |
set active for object type More... | |
setActivationDefault ($a_default) | |
setChangeableForObject ($a_status) | |
isActive () | |
Check if active. More... | |
getActivationDefault () | |
Get activation default. More... | |
isChangeableForObject () | |
return bool More... | |
update () | |
Update type entry. More... | |
getType () | |
Data Fields | |
const | DEFAULT_OFF = 0 |
const | DEFAULT_ON = 1 |
Protected Member Functions | |
read () | |
Read from db. More... | |
Protected Attributes | |
$db | |
Private Attributes | |
$type = '' | |
$active = false | |
$changeable = false | |
$default = self::DEFAULT_OFF | |
Object settings regarding position permissions.
Definition at line 10 of file class.ilOrgUnitObjectTypePositionSetting.php.
ilOrgUnitObjectTypePositionSetting::__construct | ( | $a_obj_type | ) |
Constructor.
string | $a_obj_type |
Definition at line 41 of file class.ilOrgUnitObjectTypePositionSetting.php.
References $GLOBALS, and read().
ilOrgUnitObjectTypePositionSetting::getActivationDefault | ( | ) |
Get activation default.
Definition at line 92 of file class.ilOrgUnitObjectTypePositionSetting.php.
References $default.
Referenced by update().
ilOrgUnitObjectTypePositionSetting::getType | ( | ) |
Definition at line 142 of file class.ilOrgUnitObjectTypePositionSetting.php.
References $type.
ilOrgUnitObjectTypePositionSetting::isActive | ( | ) |
Check if active.
Definition at line 81 of file class.ilOrgUnitObjectTypePositionSetting.php.
References $active.
Referenced by update().
ilOrgUnitObjectTypePositionSetting::isChangeableForObject | ( | ) |
return bool
Definition at line 101 of file class.ilOrgUnitObjectTypePositionSetting.php.
References $changeable.
Referenced by update().
|
protected |
Read from db.
Definition at line 125 of file class.ilOrgUnitObjectTypePositionSetting.php.
References $query, $res, $row, ilDBConstants\FETCHMODE_OBJECT, setActivationDefault(), setActive(), and setChangeableForObject().
Referenced by __construct().
ilOrgUnitObjectTypePositionSetting::setActivationDefault | ( | $a_default | ) |
int | $a_default |
Definition at line 61 of file class.ilOrgUnitObjectTypePositionSetting.php.
Referenced by read().
ilOrgUnitObjectTypePositionSetting::setActive | ( | $a_active | ) |
set active for object type
Definition at line 52 of file class.ilOrgUnitObjectTypePositionSetting.php.
Referenced by read().
ilOrgUnitObjectTypePositionSetting::setChangeableForObject | ( | $a_status | ) |
bool | $a_status |
Definition at line 70 of file class.ilOrgUnitObjectTypePositionSetting.php.
Referenced by read().
ilOrgUnitObjectTypePositionSetting::update | ( | ) |
Update type entry.
Definition at line 110 of file class.ilOrgUnitObjectTypePositionSetting.php.
References getActivationDefault(), isActive(), and isChangeableForObject().
|
private |
Definition at line 25 of file class.ilOrgUnitObjectTypePositionSetting.php.
Referenced by isActive().
|
private |
Definition at line 29 of file class.ilOrgUnitObjectTypePositionSetting.php.
Referenced by isChangeableForObject().
|
protected |
Definition at line 17 of file class.ilOrgUnitObjectTypePositionSetting.php.
|
private |
Definition at line 33 of file class.ilOrgUnitObjectTypePositionSetting.php.
Referenced by getActivationDefault().
|
private |
Definition at line 21 of file class.ilOrgUnitObjectTypePositionSetting.php.
Referenced by getType().
const ilOrgUnitObjectTypePositionSetting::DEFAULT_OFF = 0 |
Definition at line 12 of file class.ilOrgUnitObjectTypePositionSetting.php.
const ilOrgUnitObjectTypePositionSetting::DEFAULT_ON = 1 |
Definition at line 13 of file class.ilOrgUnitObjectTypePositionSetting.php.
Referenced by ilOrgUnitGlobalSettingsGUI\initSettingsForm().