32 include_once
'class.ilMDBase.php';
43 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDGeneral.php';
56 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDGeneral.php';
66 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDLifecycle.php';
79 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDLifecycle.php';
88 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDMetaMetadata.php';
101 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDMetaMetadata.php';
110 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDTechnical.php';
115 $tec->setMetaId($id);
123 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDTechnical.php';
132 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDEducational.php';
137 $edu->setMetaId($id);
145 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDEducational.php';
153 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDRights.php';
158 $rig->setMetaId($id);
166 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDRights.php';
175 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDRelation.php';
181 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDRelation.php';
189 $rel->setMetaId($a_relation_id);
195 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDRelation.php';
205 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDAnnotation.php';
211 if(!$a_annotation_id)
215 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDAnnotation.php';
218 $ann->setMetaId($a_annotation_id);
224 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDAnnotation.php';
233 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDClassification.php';
239 if(!$a_classification_id)
244 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDClassification.php';
247 $cla->setMetaId($a_classification_id);
253 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDClassification.php';
267 $writer->xmlStartTag(
'Migration/DBUpdate_426');
272 $gen->toXML($writer);
278 $lif->toXML($writer);
284 $met->toXML($writer);
290 $tec->toXML($writer);
296 $edu->toXML($writer);
300 if(is_object($rig =& $this->
getRights()))
302 $rig->toXML($writer);
309 $rel->toXML($writer);
316 $ann->toXML($writer);
323 $cla->toXML($writer);
326 $writer->xmlEndTag(
'Migration/DBUpdate_426');
333 $tables =
array(
'il_meta_annotation',
334 'il_meta_classification',
335 'il_meta_contribute',
336 'il_meta_description',
337 'il_meta_educational',
341 'il_meta_identifier',
342 'il_meta_identifier_',
349 'il_meta_requirement',
352 'il_meta_taxon_path',
354 'il_meta_typical_age_range');
356 foreach($tables as $table)
358 $query =
"DELETE FROM ".$table.
" ".
359 "WHERE rbac_id = ".$ilDB->quote($this->
getRBACId()).
" ".
360 "AND obj_id = ".$ilDB->quote($this->
getObjId());
370 $tables =
array(
'il_meta_annotation',
371 'il_meta_classification',
372 'il_meta_contribute',
373 'il_meta_description',
374 'il_meta_educational',
378 'il_meta_identifier',
379 'il_meta_identifier_',
386 'il_meta_requirement',
389 'il_meta_taxon_path',
391 'il_meta_typical_age_range');
393 foreach($tables as $table)
395 $query =
"DELETE FROM ".$table.
" ".
396 "WHERE obj_type = ".$ilDB->quote(
$a_type).
" ";
static _getIds($a_rbac_id, $a_obj_id)
static _getIds($a_rbac_id, $a_obj_id)
& getClassification($a_classification_id)
static _getIds($a_rbac_id, $a_obj_id)
static _getId($a_rbac_id, $a_obj_id)
& getRelation($a_relation_id)
static _getId($a_rbac_id, $a_obj_id)
static _getId($a_rbac_id, $a_obj_id)
static _getId($a_rbac_id, $a_obj_id)
Create styles array
The data for the language used.
_deleteAllByType($a_type)
static _getId($a_rbac_id, $a_obj_id)
& getAnnotation($a_annotation_id)