| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Collaboration diagram for ilAdvancedMDValue:
 Collaboration diagram for ilAdvancedMDValue:| Public Member Functions | |
| __construct ($a_field_id, $a_obj_id=0, $a_sub_type="", $a_sub_id=0) | |
| Singleton constructor. | |
| __toString () | |
| To string method. | |
| setObjId ($a_obj_id) | |
| set object id | |
| setSubType ($a_val) | |
| Set sub type. | |
| getSubType () | |
| Get sub type. | |
| setSubId ($a_val) | |
| Set sub id. | |
| getSubId () | |
| Get sub 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, $a_sub_type="", $a_sub_id=0) | 
| 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 14 of file class.ilAdvancedMDValue.php.
| ilAdvancedMDValue::__construct | ( | $a_field_id, | |
| $a_obj_id = 0, | |||
| $a_sub_type = "", | |||
| $a_sub_id = 0 | |||
| ) | 
Singleton constructor.
private
| int | field_id | 
| int | obj_id | 
Definition at line 33 of file class.ilAdvancedMDValue.php.
References read(), setSubId(), and setSubType().
 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 74 of file class.ilAdvancedMDValue.php.
References $value.
| 
 | static | 
Get instance.
public
Definition at line 55 of file class.ilAdvancedMDValue.php.
Referenced by ilAdvancedMDValues\_appendXMLByObjId(), ilRemoteObjectBase\importMetadataFromJson(), ilAdvancedMDRecordGUI\loadECSDurationPost(), ilAdvancedMDRecordGUI\loadFromPost(), ilAdvancedMDRecordGUI\parseEditor(), ilAdvancedMDRecordGUI\parseInfoPage(), and ilAdvancedMDRecordGUI\showECSStart().
 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 142 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 | ( | ) | 
Delete value.
public
Definition at line 205 of file class.ilAdvancedMDValue.php.
References $query, $res, getSubId(), and getSubType().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilAdvancedMDValue::getSubId | ( | ) | 
Get sub id.
Definition at line 130 of file class.ilAdvancedMDValue.php.
Referenced by delete(), and read().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDValue::getSubType | ( | ) | 
Get sub type.
Definition at line 110 of file class.ilAdvancedMDValue.php.
Referenced by delete(), read(), and save().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDValue::getValue | ( | ) | 
get value
public
Definition at line 169 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 182 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 246 of file class.ilAdvancedMDValue.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, getSubId(), getSubType(), 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 223 of file class.ilAdvancedMDValue.php.
References $query, $res, getSubType(), 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 86 of file class.ilAdvancedMDValue.php.
| ilAdvancedMDValue::setSubId | ( | $a_val | ) | 
Set sub id.
| integer | $a_val | sub object id | 
Definition at line 120 of file class.ilAdvancedMDValue.php.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDValue::setSubType | ( | $a_val | ) | 
Set sub type.
| string | $a_val | sub type | 
Definition at line 96 of file class.ilAdvancedMDValue.php.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilAdvancedMDValue::setValue | ( | $a_value | ) | 
Set value.
public
| string | value | 
Definition at line 159 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 194 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 18 of file class.ilAdvancedMDValue.php.
| 
 | private | 
Definition at line 23 of file class.ilAdvancedMDValue.php.
Referenced by isDisabled().
| 
 | private | 
Definition at line 21 of file class.ilAdvancedMDValue.php.
| 
 | staticprivate | 
Definition at line 16 of file class.ilAdvancedMDValue.php.
| 
 | private | 
Definition at line 20 of file class.ilAdvancedMDValue.php.
| 
 | private | 
Definition at line 22 of file class.ilAdvancedMDValue.php.
Referenced by __toString(), and getValue().