ILIAS
Release_3_10_x_branch Revision 61812
|
Public Member Functions | |
__construct ($a_field_id, $a_obj_id=0) | |
Singleton constructor. | |
__toString () | |
To string method. | |
setObjId ($a_obj_id) | |
set object id | |
appendXML ($xml_writer) | |
append value xml | |
setValue ($a_value) | |
Set value. | |
getValue () | |
get value | |
isDisabled () | |
Check if value is imported and therefore disabled. | |
toggleDisabledStatus ($a_status) | |
Toggle disabled status. | |
delete () | |
Delete value. | |
save () | |
Save data. |
Static Public Member Functions | |
static | _getInstance ($a_obj_id, $a_field_id) |
Get instance. |
Protected Attributes | |
$db |
Private Member Functions | |
read () | |
Read data. |
Private Attributes | |
$obj_id | |
$field_id | |
$value | |
$disabled = false |
Static Private Attributes | |
static | $instances = array() |
Definition at line 33 of file class.ilAdvancedMDValue.php.
ilAdvancedMDValue::__construct | ( | $a_field_id, | |
$a_obj_id = 0 |
|||
) |
Singleton constructor.
private
int | field_id |
int | obj_id |
Definition at line 52 of file class.ilAdvancedMDValue.php.
References read().
ilAdvancedMDValue::__toString | ( | ) |
To string method.
public
Definition at line 87 of file class.ilAdvancedMDValue.php.
References $value.
|
static |
Get instance.
public
Definition at line 72 of file class.ilAdvancedMDValue.php.
Referenced by ilAdvancedMDValues\_appendXMLByObjId(), ilAdvancedMDRecordGUI\loadECSDurationPost(), ilAdvancedMDRecordGUI\loadFromPost(), ilAdvancedMDRecordGUI\parseEditor(), ilAdvancedMDRecordGUI\parseInfoPage(), ilAdvancedMDRecordGUI\showECSStart(), and ilObjRemoteCourse\updateFromECSContent().
ilAdvancedMDValue::appendXML | ( | $xml_writer | ) |
append value xml
public
object | instance of ilXmlWriter |
Definition at line 111 of file class.ilAdvancedMDValue.php.
References ilAdvancedMDFieldDefinition\_lookupImportId(), and getValue().
ilAdvancedMDValue::delete | ( | ) |
Delete value.
public
Definition at line 174 of file class.ilAdvancedMDValue.php.
References $res.
ilAdvancedMDValue::getValue | ( | ) |
get value
public
Definition at line 138 of file class.ilAdvancedMDValue.php.
References $value.
Referenced by appendXML(), and save().
ilAdvancedMDValue::isDisabled | ( | ) |
Check if value is imported and therefore disabled.
This is the case for imported course links.
public
Definition at line 151 of file class.ilAdvancedMDValue.php.
References $disabled.
Referenced by save().
|
private |
Read data.
private
Definition at line 203 of file class.ilAdvancedMDValue.php.
References $res, DB_FETCHMODE_OBJECT, setValue(), and toggleDisabledStatus().
Referenced by __construct().
ilAdvancedMDValue::save | ( | ) |
Save data.
public
Definition at line 188 of file class.ilAdvancedMDValue.php.
References $res, getValue(), and isDisabled().
ilAdvancedMDValue::setObjId | ( | $a_obj_id | ) |
set object id
public
int | obj_id |
Definition at line 99 of file class.ilAdvancedMDValue.php.
ilAdvancedMDValue::setValue | ( | $a_value | ) |
Set value.
public
string | value |
Definition at line 128 of file class.ilAdvancedMDValue.php.
Referenced by read().
ilAdvancedMDValue::toggleDisabledStatus | ( | $a_status | ) |
Toggle disabled status.
public
bool | disabled status |
Definition at line 163 of file class.ilAdvancedMDValue.php.
Referenced by read().
|
protected |
Definition at line 37 of file class.ilAdvancedMDValue.php.
|
private |
Definition at line 42 of file class.ilAdvancedMDValue.php.
Referenced by isDisabled().
|
private |
Definition at line 40 of file class.ilAdvancedMDValue.php.
|
staticprivate |
Definition at line 35 of file class.ilAdvancedMDValue.php.
|
private |
Definition at line 39 of file class.ilAdvancedMDValue.php.
|
private |
Definition at line 41 of file class.ilAdvancedMDValue.php.
Referenced by __toString(), and getValue().