|
ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Collaboration diagram for ilAdvancedMDValues:Public Member Functions | |
| __construct ($a_record_id, $a_obj_id, $a_sub_type="-", $a_sub_id=0) | |
| Constructor. More... | |
| getDefinitions () | |
| Get record field definitions. More... | |
| getADTGroup () | |
| Init ADT group for current record. More... | |
| isDisabled ($a_element_id) | |
| Is element disabled? More... | |
| read () | |
| Get record values. More... | |
| write (array $a_additional_data=null) | |
| Write record values. More... | |
Static Public Member Functions | |
| static | getInstancesForObjectId ($a_obj_id, $a_obj_type=null) |
| Get instances for given object id. More... | |
| static | findByObjectId ($a_obj_id) |
| Find all entries for object (regardless of sub-type/sub-id) More... | |
| static | _deleteByFieldId ($a_field_id, ilADT $a_adt) |
| Delete values by field_id. More... | |
| static | _deleteByObjId ($a_obj_id) |
| Delete by objekt id. More... | |
| static | preloadByObjIds (array $a_obj_ids) |
| Preload list gui data. More... | |
| static | preloadedRead ($a_type, $a_obj_id) |
| static | _cloneValues ($a_source_id, $a_target_id, $a_sub_type=null, $a_source_sub_id=null, $a_target_sub_id=null) |
| Clone Advanced Meta Data. More... | |
| static | _appendXMLByObjId (ilXmlWriter $a_xml_writer, $a_obj_id) |
| Get xml of object values. More... | |
| static | queryForRecords ($a_obj_id, $a_subtype, $a_records, $a_obj_id_key, $a_obj_subid_key, array $a_amet_filter=null) |
| Query data for given object records. More... | |
Protected Member Functions | |
| getActiveRecord () | |
| Init ADT DB Bridge (aka active record helper class) More... | |
Protected Attributes | |
| $record_id | |
| $obj_id | |
| $sub_id | |
| $sub_type | |
| $defs | |
| $adt_group | |
| $active_record | |
| $disabled | |
Static Protected Attributes | |
| static | $preload_obj_records |
| ilAdvancedMDValues::__construct | ( | $a_record_id, | |
| $a_obj_id, | |||
$a_sub_type = "-", |
|||
$a_sub_id = 0 |
|||
| ) |
Constructor.
| int | $a_record_id | |
| string | $a_obj_id | |
| string | $a_sub_type | |
| int | $a_sub_id |
Definition at line 39 of file class.ilAdvancedMDValues.php.
|
static |
Get xml of object values.
| ilXmlWriter | $a_xml_writer | |
| int | $a_obj_id |
Definition at line 360 of file class.ilAdvancedMDValues.php.
References $defs, ilObject\_lookupType(), preloadByObjIds(), preloadedRead(), ilXmlWriter\xmlElement(), ilXmlWriter\xmlEndTag(), and ilXmlWriter\xmlStartTag().
Referenced by ilCourseXMLWriter\__buildAdvancedMetaData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Clone Advanced Meta Data.
| int | source obj_id |
| int | target obj_id |
| string | sub_type (both source/target) |
| int | source sub_id |
| int | target sub_id |
Definition at line 312 of file class.ilAdvancedMDValues.php.
References $ilLog, ilADTActiveRecordByType\cloneByPrimary(), and ilADTFactory\getInstance().
Referenced by ilObject\cloneObject(), and ilObjWiki\createWikiPage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Delete values by field_id.
Typically called after deleting a field
| int | $a_field_id | |
| ilADT | $a_adt |
Definition at line 222 of file class.ilAdvancedMDValues.php.
References ilADTActiveRecordByType\deleteByPrimary(), ilADTFactory\getInstance(), and ilADT\getType().
Referenced by ilAdvancedMDFieldDefinition\delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Delete by objekt id.
| int | $a_obj_id |
Definition at line 236 of file class.ilAdvancedMDValues.php.
References ilADTActiveRecordByType\deleteByPrimary(), and ilADTFactory\getInstance().
Referenced by ilObject\delete().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Find all entries for object (regardless of sub-type/sub-id)
| int | $a_obj_id |
Definition at line 152 of file class.ilAdvancedMDValues.php.
References ilADTFactory\initActiveRecordByType(), and ilADTActiveRecordByType\readByPrimary().
Referenced by ilAdvancedMetaDataExporter\getXmlRepresentation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Init ADT DB Bridge (aka active record helper class)
Definition at line 113 of file class.ilAdvancedMDValues.php.
References $active_record, getADTGroup(), and ilADTFactory\getInstance().
Referenced by read(), and write().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDValues::getADTGroup | ( | ) |
Init ADT group for current record.
Definition at line 99 of file class.ilAdvancedMDValues.php.
References $adt_group, ilAdvancedMDFieldDefinition\getADTGroupForDefinitions(), and getDefinitions().
Referenced by getActiveRecord().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDValues::getDefinitions | ( | ) |
Get record field definitions.
Definition at line 85 of file class.ilAdvancedMDValues.php.
References $defs, and ilAdvancedMDFieldDefinition\getInstancesByRecordId().
Referenced by getADTGroup().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get instances for given object id.
| int | $a_obj_id | |
| string | $a_obj_type |
Definition at line 54 of file class.ilAdvancedMDValues.php.
References $ilDB, $query, $res, $row, and ilObject\_lookupType().
Referenced by ilECSUtils\getAdvancedMDValuesForObjId(), ilAdvancedMDValueParser\handlerBeginTag(), ilRemoteObjectBase\importMetadataFromJson(), ilAdvancedMDRecordGUI\parseInfoPage(), and ilObjOrgUnitGUI\parseInfoScreen().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDValues::isDisabled | ( | $a_element_id | ) |
Is element disabled?
| string | $a_element_id |
Definition at line 172 of file class.ilAdvancedMDValues.php.
|
static |
Preload list gui data.
| array | $a_obj_ids |
Definition at line 255 of file class.ilAdvancedMDValues.php.
References $ilDB, $query, $row, ilADTFactory\getInstance(), and ilADTActiveRecordByType\preloadByPrimary().
Referenced by _appendXMLByObjId(), and ilObjectListGUIPreloader\preload().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 282 of file class.ilAdvancedMDValues.php.
References $record_id, and $res.
Referenced by _appendXMLByObjId(), and ilAdvancedMDSubstitution\getParsedSubstitutions().
Here is the caller graph for this function:
|
static |
Query data for given object records.
return
Definition at line 402 of file class.ilAdvancedMDValues.php.
References $active_record, $adt_group, $defs, $obj_id, $record_id, $result, $results, $sub_id, ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilObject\_lookupType(), ilAdvancedMDFieldDefinition\getADTGroupForDefinitions(), ilADTFactory\getInstance(), ilAdvancedMDFieldDefinition\getInstancesByRecordId(), and ilADTActiveRecordByType\preloadByPrimary().
Referenced by ilGlossaryTerm\getTermList().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAdvancedMDValues::read | ( | ) |
Get record values.
Definition at line 188 of file class.ilAdvancedMDValues.php.
References $data, and getActiveRecord().
Here is the call graph for this function:| ilAdvancedMDValues::write | ( | array | $a_additional_data = null | ) |
Write record values.
| array | $a_additional_data |
Definition at line 210 of file class.ilAdvancedMDValues.php.
References getActiveRecord().
Here is the call graph for this function:
|
protected |
Definition at line 24 of file class.ilAdvancedMDValues.php.
Referenced by getActiveRecord(), and queryForRecords().
|
protected |
Definition at line 23 of file class.ilAdvancedMDValues.php.
Referenced by getADTGroup(), and queryForRecords().
|
protected |
Definition at line 22 of file class.ilAdvancedMDValues.php.
Referenced by _appendXMLByObjId(), getDefinitions(), and queryForRecords().
|
protected |
Definition at line 26 of file class.ilAdvancedMDValues.php.
|
protected |
Definition at line 18 of file class.ilAdvancedMDValues.php.
Referenced by queryForRecords().
|
staticprotected |
Definition at line 28 of file class.ilAdvancedMDValues.php.
|
protected |
Definition at line 17 of file class.ilAdvancedMDValues.php.
Referenced by preloadedRead(), and queryForRecords().
|
protected |
Definition at line 19 of file class.ilAdvancedMDValues.php.
Referenced by queryForRecords().
|
protected |
Definition at line 20 of file class.ilAdvancedMDValues.php.