Inheritance diagram for ilMD:
Collaboration diagram for ilMD:Definition at line 34 of file class.ilMD.php.
| ilMD::_deleteAllByType | ( | $ | a_type | ) |
Definition at line 370 of file class.ilMD.php.
References $query, and $tables.
{
global $ilDB;
$tables = array('il_meta_annotation',
'il_meta_classification',
'il_meta_contribute',
'il_meta_description',
'il_meta_educational',
'il_meta_entity',
'il_meta_format',
'il_meta_general',
'il_meta_identifier',
'il_meta_identifier_',
'il_meta_keyword',
'il_meta_language',
'il_meta_lifecycle',
'il_meta_location',
'il_meta_meta_data',
'il_meta_relation',
'il_meta_requirement',
'il_meta_rights',
'il_meta_taxon',
'il_meta_taxon_path',
'il_meta_technical',
'il_meta_typical_age_range');
foreach($tables as $table)
{
$query = "DELETE FROM ".$table." ".
"WHERE obj_type = '".$a_type."' ";
$ilDB->query($query);
}
return true;
}
| & ilMD::addAnnotation | ( | ) |
Definition at line 227 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDAnnotation.php';
$ann =& new ilMDAnnotation($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $ann;
}
Here is the call graph for this function:| & ilMD::addAnnotation | ( | ) |
Definition at line 236 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/MetaData/classes/class.ilMDAnnotation.php';
$ann =& new ilMDAnnotation($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $ann;
}
Here is the call graph for this function:| & ilMD::addClassification | ( | ) |
Definition at line 265 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/MetaData/classes/class.ilMDClassification.php';
$cla =& new ilMDClassification($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $cla;
}
Here is the call graph for this function:| & ilMD::addClassification | ( | ) |
Definition at line 256 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDClassification.php';
$cla =& new ilMDClassification($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $cla;
}
Here is the call graph for this function:| & ilMD::addEducational | ( | ) |
Definition at line 148 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDEducational.php';
$edu =& new ilMDEducational($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $edu;
}
Here is the call graph for this function:| & ilMD::addEducational | ( | ) |
Definition at line 157 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/MetaData/classes/class.ilMDEducational.php';
$edu =& new ilMDEducational($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $edu;
}
Here is the call graph for this function:| & ilMD::addGeneral | ( | ) |
Definition at line 68 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/MetaData/classes/class.ilMDGeneral.php';
$gen =& new ilMDGeneral($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $gen;
}
Here is the call graph for this function:| & ilMD::addGeneral | ( | ) |
Definition at line 59 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDGeneral.php';
$gen =& new ilMDGeneral($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $gen;
}
Here is the call graph for this function:| & ilMD::addLifecycle | ( | ) |
Definition at line 91 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/MetaData/classes/class.ilMDLifecycle.php';
$lif =& new ilMDLifecycle($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $lif;
}
Here is the call graph for this function:| & ilMD::addLifecycle | ( | ) |
Definition at line 82 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDLifecycle.php';
$lif =& new ilMDLifecycle($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $lif;
}
Here is the call graph for this function:| & ilMD::addMetaMetadata | ( | ) |
Definition at line 104 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDMetaMetadata.php';
$met =& new ilMDMetaMetadata($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $met;
}
Here is the call graph for this function:| & ilMD::addMetaMetadata | ( | ) |
Definition at line 113 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/MetaData/classes/class.ilMDMetaMetadata.php';
$met =& new ilMDMetaMetadata($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $met;
}
Here is the call graph for this function:| & ilMD::addRelation | ( | ) |
Definition at line 207 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/MetaData/classes/class.ilMDRelation.php';
$rel =& new ilMDRelation($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $rel;
}
Here is the call graph for this function:| & ilMD::addRelation | ( | ) |
Definition at line 198 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDRelation.php';
$rel =& new ilMDRelation($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $rel;
}
Here is the call graph for this function:| & ilMD::addRights | ( | ) |
Definition at line 169 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDRights.php';
$rig =& new ilMDRights($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $rig;
}
Here is the call graph for this function:| & ilMD::addRights | ( | ) |
Definition at line 178 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/MetaData/classes/class.ilMDRights.php';
$rig =& new ilMDRights($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $rig;
}
Here is the call graph for this function:| & ilMD::addTechnical | ( | ) |
Definition at line 135 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/MetaData/classes/class.ilMDTechnical.php';
$tec =& new ilMDTechnical($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $tec;
}
Here is the call graph for this function:| & ilMD::addTechnical | ( | ) |
Definition at line 126 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDTechnical.php';
$tec =& new ilMDTechnical($this->getRBACId(),$this->getObjId(),$this->getObjType());
return $tec;
}
Here is the call graph for this function:| & ilMD::cloneMD | ( | $ | a_rbac_id, | |
| $ | a_obj_id, | |||
| $ | a_obj_type | |||
| ) |
Definition at line 352 of file class.ilMD.php.
References ilMDBase::getObjId(), ilMDBase::getObjType(), and ilMDBase::getRBACId().
{
include_once 'Services/MetaData/classes/class.ilMD2XML.php';
// this method makes an xml export of the original meta data set
// and uses this xml string to clone the object
$md2xml = new ilMD2XML($this->getRBACId(),$this->getObjId(),$this->getObjType());
$md2xml->startExport();
// Create copier instance. For pg objects one could instantiate a ilMDXMLPageCopier class
switch($a_obj_type)
{
default:
include_once 'Services/MetaData/classes/class.ilMDXMLCopier.php';
$mdxmlcopier =& new ilMDXMLCopier($md2xml->getXML(),$a_rbac_id,$a_obj_id,$a_obj_type);
break;
}
$mdxmlcopier->startParsing();
return $mdxmlcopier->getMDObject();
}
Here is the call graph for this function:| ilMD::deleteAll | ( | ) |
Definition at line 375 of file class.ilMD.php.
References $query, and $tables.
{
$tables = array('il_meta_annotation',
'il_meta_classification',
'il_meta_contribute',
'il_meta_description',
'il_meta_educational',
'il_meta_entity',
'il_meta_format',
'il_meta_general',
'il_meta_identifier',
'il_meta_identifier_',
'il_meta_keyword',
'il_meta_language',
'il_meta_lifecycle',
'il_meta_location',
'il_meta_meta_data',
'il_meta_relation',
'il_meta_requirement',
'il_meta_rights',
'il_meta_taxon',
'il_meta_taxon_path',
'il_meta_technical',
'il_meta_typical_age_range');
foreach($tables as $table)
{
$query = "DELETE FROM ".$table." ".
"WHERE rbac_id = '".$this->getRBACId()."' ".
"AND obj_id = '".$this->getObjId()."'";
$this->db->query($query);
}
return true;
}
| ilMD::deleteAll | ( | ) |
Definition at line 334 of file class.ilMD.php.
References $query, and $tables.
{
$tables = array('il_meta_annotation',
'il_meta_classification',
'il_meta_contribute',
'il_meta_description',
'il_meta_educational',
'il_meta_entity',
'il_meta_format',
'il_meta_general',
'il_meta_identifier',
'il_meta_identifier_',
'il_meta_keyword',
'il_meta_language',
'il_meta_lifecycle',
'il_meta_location',
'il_meta_meta_data',
'il_meta_relation',
'il_meta_requirement',
'il_meta_rights',
'il_meta_taxon',
'il_meta_taxon_path',
'il_meta_technical',
'il_meta_typical_age_range');
foreach($tables as $table)
{
$query = "DELETE FROM ".$table." ".
"WHERE rbac_id = '".$this->getRBACId()."' ".
"AND obj_id = '".$this->getObjId()."'";
$this->db->query($query);
}
return true;
}
| & ilMD::getAnnotation | ( | $ | a_annotation_id | ) |
Definition at line 223 of file class.ilMD.php.
Referenced by toXML().
{
if(!$a_annotation_id)
{
return false;
}
include_once 'Services/MetaData/classes/class.ilMDAnnotation.php';
$ann =& new ilMDAnnotation();
$ann->setMetaId($a_annotation_id);
return $ann;
}
Here is the caller graph for this function:| & ilMD::getAnnotation | ( | $ | a_annotation_id | ) |
Definition at line 214 of file class.ilMD.php.
{
if(!$a_annotation_id)
{
return false;
}
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDAnnotation.php';
$ann =& new ilMDAnnotation();
$ann->setMetaId($a_annotation_id);
return $ann;
}
| & ilMD::getAnnotationIds | ( | ) |
Definition at line 217 of file class.ilMD.php.
References ilMDAnnotation::_getIds(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
Referenced by toXML().
{
include_once 'Services/MetaData/classes/class.ilMDAnnotation.php';
return ilMDAnnotation::_getIds($this->getRBACId(),$this->getObjId());
}
Here is the call graph for this function:
Here is the caller graph for this function:| & ilMD::getAnnotationIds | ( | ) |
Definition at line 208 of file class.ilMD.php.
References ilMDAnnotation::_getIds(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDAnnotation.php';
return ilMDAnnotation::_getIds($this->getRBACId(),$this->getObjId());
}
Here is the call graph for this function:| & ilMD::getClassification | ( | $ | a_classification_id | ) |
Definition at line 242 of file class.ilMD.php.
{
if(!$a_classification_id)
{
return false;
}
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDClassification.php';
$cla =& new ilMDClassification();
$cla->setMetaId($a_classification_id);
return $cla;
}
| & ilMD::getClassification | ( | $ | a_classification_id | ) |
Definition at line 251 of file class.ilMD.php.
Referenced by toXML().
{
if(!$a_classification_id)
{
return false;
}
include_once 'Services/MetaData/classes/class.ilMDClassification.php';
$cla =& new ilMDClassification();
$cla->setMetaId($a_classification_id);
return $cla;
}
Here is the caller graph for this function:| & ilMD::getClassificationIds | ( | ) |
Definition at line 245 of file class.ilMD.php.
References ilMDClassification::_getIds(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
Referenced by toXML().
{
include_once 'Services/MetaData/classes/class.ilMDClassification.php';
return ilMDClassification::_getIds($this->getRBACId(),$this->getObjId());
}
Here is the call graph for this function:
Here is the caller graph for this function:| & ilMD::getClassificationIds | ( | ) |
Definition at line 236 of file class.ilMD.php.
References ilMDClassification::_getIds(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDClassification.php';
return ilMDClassification::_getIds($this->getRBACId(),$this->getObjId());
}
Here is the call graph for this function:| & ilMD::getEducational | ( | ) |
Definition at line 135 of file class.ilMD.php.
References $id, ilMDEducational::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDEducational.php';
if($id = ilMDEducational::_getId($this->getRBACId(),$this->getObjId()))
{
$edu =& new ilMDEducational();
$edu->setMetaId($id);
return $edu;
}
return false;
}
Here is the call graph for this function:| & ilMD::getEducational | ( | ) |
Definition at line 144 of file class.ilMD.php.
References $id, ilMDEducational::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
Referenced by toXML().
{
include_once 'Services/MetaData/classes/class.ilMDEducational.php';
if($id = ilMDEducational::_getId($this->getRBACId(),$this->getObjId()))
{
$edu =& new ilMDEducational();
$edu->setMetaId($id);
return $edu;
}
return false;
}
Here is the call graph for this function:
Here is the caller graph for this function:| & ilMD::getGeneral | ( | ) |
Definition at line 46 of file class.ilMD.php.
References $id, ilMDGeneral::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDGeneral.php';
if($id = ilMDGeneral::_getId($this->getRBACId(),$this->getObjId()))
{
$gen =& new ilMDGeneral();
$gen->setMetaId($id);
return $gen;
}
return false;
}
Here is the call graph for this function:| & ilMD::getGeneral | ( | ) |
Definition at line 55 of file class.ilMD.php.
References $id, ilMDGeneral::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
Referenced by toXML().
{
include_once 'Services/MetaData/classes/class.ilMDGeneral.php';
if($id = ilMDGeneral::_getId($this->getRBACId(),$this->getObjId()))
{
$gen =& new ilMDGeneral();
$gen->setMetaId($id);
return $gen;
}
return false;
}
Here is the call graph for this function:
Here is the caller graph for this function:| & ilMD::getLifecycle | ( | ) |
Definition at line 69 of file class.ilMD.php.
References $id, ilMDLifecycle::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDLifecycle.php';
if($id = ilMDLifecycle::_getId($this->getRBACId(),$this->getObjId()))
{
$lif =& new ilMDLifecycle();
$lif->setMetaId($id);
return $lif;
}
return false;
}
Here is the call graph for this function:| & ilMD::getLifecycle | ( | ) |
Definition at line 78 of file class.ilMD.php.
References $id, ilMDLifecycle::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
Referenced by toXML().
{
include_once 'Services/MetaData/classes/class.ilMDLifecycle.php';
if($id = ilMDLifecycle::_getId($this->getRBACId(),$this->getObjId()))
{
$lif =& new ilMDLifecycle();
$lif->setMetaId($id);
return $lif;
}
return false;
}
Here is the call graph for this function:
Here is the caller graph for this function:| & ilMD::getMetaMetadata | ( | ) |
Definition at line 91 of file class.ilMD.php.
References $id, ilMDMetaMetadata::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDMetaMetadata.php';
if($id = ilMDMetaMetadata::_getId($this->getRBACId(),$this->getObjId()))
{
$met =& new ilMDMetaMetadata();
$met->setMetaId($id);
return $met;
}
return false;
}
Here is the call graph for this function:| & ilMD::getMetaMetadata | ( | ) |
Definition at line 100 of file class.ilMD.php.
References $id, ilMDMetaMetadata::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
Referenced by toXML().
{
include_once 'Services/MetaData/classes/class.ilMDMetaMetadata.php';
if($id = ilMDMetaMetadata::_getId($this->getRBACId(),$this->getObjId()))
{
$met =& new ilMDMetaMetadata();
$met->setMetaId($id);
return $met;
}
return false;
}
Here is the call graph for this function:
Here is the caller graph for this function:| & ilMD::getRelation | ( | $ | a_relation_id | ) |
Definition at line 193 of file class.ilMD.php.
Referenced by toXML().
{
include_once 'Services/MetaData/classes/class.ilMDRelation.php';
if(!$a_relation_id)
{
return false;
}
$rel =& new ilMDRelation();
$rel->setMetaId($a_relation_id);
return $rel;
}
Here is the caller graph for this function:| & ilMD::getRelation | ( | $ | a_relation_id | ) |
Definition at line 184 of file class.ilMD.php.
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDRelation.php';
if(!$a_relation_id)
{
return false;
}
$rel =& new ilMDRelation();
$rel->setMetaId($a_relation_id);
return $rel;
}
| & ilMD::getRelationIds | ( | ) |
Definition at line 187 of file class.ilMD.php.
References ilMDRelation::_getIds(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
Referenced by toXML().
{
include_once 'Services/MetaData/classes/class.ilMDRelation.php';
return ilMDRelation::_getIds($this->getRBACId(),$this->getObjId());
}
Here is the call graph for this function:
Here is the caller graph for this function:| & ilMD::getRelationIds | ( | ) |
Definition at line 178 of file class.ilMD.php.
References ilMDRelation::_getIds(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDRelation.php';
return ilMDRelation::_getIds($this->getRBACId(),$this->getObjId());
}
Here is the call graph for this function:| & ilMD::getRights | ( | ) |
Definition at line 165 of file class.ilMD.php.
References $id, ilMDRights::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
Referenced by toXML().
{
include_once 'Services/MetaData/classes/class.ilMDRights.php';
if($id = ilMDRights::_getId($this->getRBACId(),$this->getObjId()))
{
$rig =& new ilMDRights();
$rig->setMetaId($id);
return $rig;
}
return false;
}
Here is the call graph for this function:
Here is the caller graph for this function:| & ilMD::getRights | ( | ) |
Definition at line 156 of file class.ilMD.php.
References $id, ilMDRights::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDRights.php';
if($id = ilMDRights::_getId($this->getRBACId(),$this->getObjId()))
{
$rig =& new ilMDRights();
$rig->setMetaId($id);
return $rig;
}
return false;
}
Here is the call graph for this function:| & ilMD::getTechnical | ( | ) |
Definition at line 122 of file class.ilMD.php.
References $id, ilMDTechnical::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
Referenced by toXML().
{
include_once 'Services/MetaData/classes/class.ilMDTechnical.php';
if($id = ilMDTechnical::_getId($this->getRBACId(),$this->getObjId()))
{
$tec =& new ilMDTechnical();
$tec->setMetaId($id);
return $tec;
}
return false;
}
Here is the call graph for this function:
Here is the caller graph for this function:| & ilMD::getTechnical | ( | ) |
Definition at line 113 of file class.ilMD.php.
References $id, ilMDTechnical::_getId(), ilMDBase::getObjId(), and ilMDBase::getRBACId().
{
include_once 'Services/Migration/DBUpdate_426/classes/class.ilMDTechnical.php';
if($id = ilMDTechnical::_getId($this->getRBACId(),$this->getObjId()))
{
$tec =& new ilMDTechnical();
$tec->setMetaId($id);
return $tec;
}
return false;
}
Here is the call graph for this function:| ilMD::ilMD | ( | $ | a_rbac_id, | |
| $ | a_obj_id, | |||
| $ | a_type | |||
| ) |
Definition at line 50 of file class.ilMD.php.
References ilMDBase::ilMDBase().
{
parent::ilMDBase($a_rbac_id,$a_obj_id,$a_type);
}
Here is the call graph for this function:| ilMD::ilMD | ( | $ | a_rbac_id, | |
| $ | a_obj_id, | |||
| $ | a_type | |||
| ) |
Definition at line 41 of file class.ilMD.php.
References ilMDBase::ilMDBase().
{
parent::ilMDBase($a_rbac_id,$a_obj_id,$a_type);
}
Here is the call graph for this function:| ilMD::toXML | ( | &$ | writer | ) |
Reimplemented from ilMDBase.
Definition at line 279 of file class.ilMD.php.
References $id, getAnnotation(), getAnnotationIds(), getClassification(), getClassificationIds(), getEducational(), ilMDBase::getExportMode(), getGeneral(), getLifecycle(), getMetaMetadata(), getRelation(), getRelationIds(), getRights(), and getTechnical().
{
$writer->xmlStartTag('MetaData');
// General
if(is_object($gen =& $this->getGeneral()))
{
$gen->setExportMode($this->getExportMode());
$gen->toXML($writer);
}
// Lifecycle
if(is_object($lif =& $this->getLifecycle()))
{
$lif->toXML($writer);
}
// Meta-Metadata
if(is_object($met =& $this->getMetaMetadata()))
{
$met->toXML($writer);
}
// Technical
if(is_object($tec =& $this->getTechnical()))
{
$tec->toXML($writer);
}
// Educational
if(is_object($edu =& $this->getEducational()))
{
$edu->toXML($writer);
}
// Rights
if(is_object($rig =& $this->getRights()))
{
$rig->toXML($writer);
}
// Relations
foreach($this->getRelationIds() as $id)
{
$rel =& $this->getRelation($id);
$rel->toXML($writer);
}
// Annotations
foreach($this->getAnnotationIds() as $id)
{
$ann =& $this->getAnnotation($id);
$ann->toXML($writer);
}
// Classification
foreach($this->getClassificationIds() as $id)
{
$cla =& $this->getClassification($id);
$cla->toXML($writer);
}
$writer->xmlEndTag('MetaData');
}
Here is the call graph for this function:| ilMD::toXML | ( | &$ | writer | ) |
Reimplemented from ilMDBase.
Definition at line 270 of file class.ilMD.php.
References $id, getAnnotation(), getAnnotationIds(), getClassification(), getClassificationIds(), getEducational(), getGeneral(), getLifecycle(), getMetaMetadata(), getRelation(), getRelationIds(), getRights(), and getTechnical().
{
$writer->xmlStartTag('Migration/DBUpdate_426');
// General
if(is_object($gen =& $this->getGeneral()))
{
$gen->toXML($writer);
}
// Lifecycle
if(is_object($lif =& $this->getLifecycle()))
{
$lif->toXML($writer);
}
// Meta-Metadata
if(is_object($met =& $this->getMetaMetadata()))
{
$met->toXML($writer);
}
// Technical
if(is_object($tec =& $this->getTechnical()))
{
$tec->toXML($writer);
}
// Educational
if(is_object($edu =& $this->getEducational()))
{
$edu->toXML($writer);
}
// Rights
if(is_object($rig =& $this->getRights()))
{
$rig->toXML($writer);
}
// Relations
foreach($this->getRelationIds() as $id)
{
$rel =& $this->getRelation($id);
$rel->toXML($writer);
}
// Annotations
foreach($this->getAnnotationIds() as $id)
{
$ann =& $this->getAnnotation($id);
$ann->toXML($writer);
}
// Classification
foreach($this->getClassificationIds() as $id)
{
$cla =& $this->getClassification($id);
$cla->toXML($writer);
}
$writer->xmlEndTag('Migration/DBUpdate_426');
}
Here is the call graph for this function:
1.7.1