32 include_once
'class.ilMDBase.php';
43 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDGeneral.php';
55 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDGeneral.php';
65 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDLifecycle.php';
77 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDLifecycle.php';
86 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDMetaMetadata.php';
98 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDMetaMetadata.php';
107 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDTechnical.php';
111 $tec->setMetaId(
$id);
119 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDTechnical.php';
128 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDEducational.php';
132 $edu->setMetaId(
$id);
140 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDEducational.php';
148 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDRights.php';
152 $rig->setMetaId(
$id);
160 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDRights.php';
169 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDRelation.php';
175 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDRelation.php';
177 if (!$a_relation_id) {
182 $rel->setMetaId($a_relation_id);
188 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDRelation.php';
198 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDAnnotation.php';
204 if (!$a_annotation_id) {
207 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDAnnotation.php';
210 $ann->setMetaId($a_annotation_id);
216 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDAnnotation.php';
225 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDClassification.php';
231 if (!$a_classification_id) {
235 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDClassification.php';
238 $cla->setMetaId($a_classification_id);
244 include_once
'Services/Migration/DBUpdate_426/classes/class.ilMDClassification.php';
258 $writer->xmlStartTag(
'Migration/DBUpdate_426');
262 $gen->toXML($writer);
267 $lif->toXML($writer);
272 $met->toXML($writer);
277 $tec->toXML($writer);
282 $edu->toXML($writer);
286 if (is_object($rig =&$this->
getRights())) {
287 $rig->toXML($writer);
293 $rel->toXML($writer);
299 $ann->toXML($writer);
305 $cla->toXML($writer);
308 $writer->xmlEndTag(
'Migration/DBUpdate_426');
315 $tables =
array(
'il_meta_annotation',
316 'il_meta_classification',
317 'il_meta_contribute',
318 'il_meta_description',
319 'il_meta_educational',
323 'il_meta_identifier',
324 'il_meta_identifier_',
331 'il_meta_requirement',
334 'il_meta_taxon_path',
336 'il_meta_typical_age_range');
338 foreach ($tables as
$table) {
339 $query =
"DELETE FROM " . $table .
" " .
340 "WHERE rbac_id = " . $ilDB->quote($this->
getRBACId()) .
" " .
341 "AND obj_id = " . $ilDB->quote($this->
getObjId());
351 $tables =
array(
'il_meta_annotation',
352 'il_meta_classification',
353 'il_meta_contribute',
354 'il_meta_description',
355 'il_meta_educational',
359 'il_meta_identifier',
360 'il_meta_identifier_',
367 'il_meta_requirement',
370 'il_meta_taxon_path',
372 'il_meta_typical_age_range');
374 foreach ($tables as
$table) {
375 $query =
"DELETE FROM " . $table .
" " .
376 "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)
if(!array_key_exists('StateId', $_REQUEST)) $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)
foreach($_POST as $key=> $value) $res
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)
if(empty($password)) $table