| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Collaboration diagram for ilAdvancedMDValue:
 Collaboration diagram for ilAdvancedMDValue:| 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.
 Here is the call graph for this function:
 Here is the call graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilAdvancedMDValue::delete | ( | ) | 
| ilAdvancedMDValue::getValue | ( | ) | 
get value
public
Definition at line 138 of file class.ilAdvancedMDValue.php.
References $value.
Referenced by appendXML(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Read data.
private
Definition at line 211 of file class.ilAdvancedMDValue.php.
References $ilDB, $query, $res, $row, DB_FETCHMODE_OBJECT, setValue(), and toggleDisabledStatus().
Referenced by __construct().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDValue::save | ( | ) | 
Save data.
public
Definition at line 190 of file class.ilAdvancedMDValue.php.
References $ilDB, $query, $res, getValue(), and isDisabled().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDValue::toggleDisabledStatus | ( | $a_status | ) | 
Toggle disabled status.
public
| bool | disabled status | 
Definition at line 163 of file class.ilAdvancedMDValue.php.
Referenced by read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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().