ILIAS
Release_4_4_x_branch Revision 61816
|
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 | _getValuesByObjIdAndSubtype ($a_obj_id, $a_subtype) |
Get all values of an object per subtype Uses internal cache. | |
static | queryForRecords ($a_obj_id, $a_subtype, $a_records, $a_obj_id_key, $a_obj_subid_key, $a_amet_filter="") |
Query data for given object records. |
Static Private Attributes | |
static | $cached_values = array() |
Definition at line 14 of file class.ilAdvancedMDValues.php.
|
static |
Get xml of object values.
public
object | instance of ilXmlWriter | |
int | $a_obj_id |
Definition at line 94 of file class.ilAdvancedMDValues.php.
References $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 56 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 151 of file class.ilAdvancedMDValues.php.
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 27 of file class.ilAdvancedMDValues.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilECSObjectSettings\addMetadataToJson(), ilECSSettingsGUI\exportImported(), ilECSSettingsGUI\exportReleased(), ilECSReleasedContentTableGUI\fillRow(), ilECSImportedContentTableGUI\fillRow(), and ilAdvancedMDSubstitution\getParsedSubstitutions().
|
static |
Get all values of an object per subtype Uses internal cache.
public
int | obj_id |
Definition at line 186 of file class.ilAdvancedMDValues.php.
References $result.
Referenced by queryForRecords().
|
static |
preload object values
public
array | obj_ids |
Definition at line 127 of file class.ilAdvancedMDValues.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
|
static |
Query data for given object records.
@return |
Definition at line 209 of file class.ilAdvancedMDValues.php.
References $result, $results, _getValuesByObjIdAndSubtype(), ilAdvancedMDFieldDefinition\_lookupFieldType(), IL_CAL_DATE, IL_CAL_UNIX, ilAdvancedMDFieldDefinition\TYPE_DATE, and ilAdvancedMDFieldDefinition\TYPE_DATETIME.
Referenced by ilGlossaryTerm\getTermList().
|
staticprivate |
Definition at line 16 of file class.ilAdvancedMDValues.php.