ILIAS
Release_4_1_x_branch Revision 61804
|
Static Public Member Functions | |
static | _getValuesByObjId ($a_obj_id) |
Get all values of an object. | |
static | _cloneValues ($a_source_id, $a_target_id) |
Clone Advanced Meta Data. | |
static | _appendXMLByObjId (ilXmlWriter $xml_writer, $a_obj_id) |
Get xml of object values. | |
static | _preloadValuesByObjIds ($obj_ids) |
preload object values | |
static | _deleteByFieldId ($a_field_id) |
Delete values by field_id. | |
static | _deleteByObjId ($a_obj_id) |
Delete by objekt id. |
Static Private Attributes | |
static | $cached_values = array() |
Definition at line 33 of file class.ilAdvancedMDValues.php.
|
static |
Get xml of object values.
public
object | instance of ilXmlWriter | |
int | $a_obj_id |
Definition at line 113 of file class.ilAdvancedMDValues.php.
References $ilDB, $query, $res, $row, ilAdvancedMDValue\_getInstance(), ilObject\_lookupType(), DB_FETCHMODE_OBJECT, ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by ilCourseXMLWriter\__buildAdvancedMetaData().
|
static |
Clone Advanced Meta Data.
public
int | source obj_id |
int | target obj_id |
Definition at line 75 of file class.ilAdvancedMDValues.php.
References $ilLog, ilAdvancedMDFieldDefinition\_getActiveDefinitionsByObjType(), and ilObject\_lookupType().
Referenced by ilObject\cloneObject().
|
static |
Delete values by field_id.
Typically called after deleting a field
public
int | field id |
Definition at line 170 of file class.ilAdvancedMDValues.php.
References $ilDB, $query, and $res.
Referenced by ilAdvancedMDFieldDefinition\_deleteByRecordId(), and ilAdvancedMDFieldDefinition\delete().
|
static |
|
static |
Get all values of an object.
Uses internal cache.
public
int | obj_id |
Definition at line 46 of file class.ilAdvancedMDValues.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSSettingsGUI\exportImported(), ilECSSettingsGUI\exportReleased(), ilECSReleasedContentTableGUI\fillRow(), ilECSImportedContentTableGUI\fillRow(), ilAdvancedMDSubstitution\getParsedSubstitutions(), and ilECSContentWriter\updateJSON().
|
static |
preload object values
public
array | obj_ids |
Definition at line 146 of file class.ilAdvancedMDValues.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
|
staticprivate |
Definition at line 35 of file class.ilAdvancedMDValues.php.