Inheritance diagram for ilMD2XML:
Collaboration diagram for ilMD2XML:Public Member Functions | |
| ilMD2XML ($a_rbac_id, $a_obj_id, $a_type) | |
| setExportMode ($a_export_mode=true) | |
| getExportMode () | |
| startExport () | |
| getXML () | |
Data Fields | |
| $md_obj = null | |
| $export_mode = false | |
Definition at line 34 of file class.ilMD2XML.php.
| ilMD2XML::getExportMode | ( | ) |
Definition at line 51 of file class.ilMD2XML.php.
Referenced by startExport().
{
return $this->export_mode;
}
Here is the caller graph for this function:| ilMD2XML::getXML | ( | ) |
Definition at line 63 of file class.ilMD2XML.php.
References $xml, and ilXmlWriter::xmlDumpMem().
{
$xml = $this->xmlDumpMem();
if(!ini_get('magic_quotes_gpc'))
{
return stripslashes($xml);
}
return $xml;
}
Here is the call graph for this function:| ilMD2XML::ilMD2XML | ( | $ | a_rbac_id, | |
| $ | a_obj_id, | |||
| $ | a_type | |||
| ) |
Definition at line 39 of file class.ilMD2XML.php.
References ilXmlWriter::ilXmlWriter().
{
$this->md_obj =& new ilMD($a_rbac_id,$a_obj_id,$a_type);
parent::ilXmlWriter();
}
Here is the call graph for this function:| ilMD2XML::setExportMode | ( | $ | a_export_mode = true |
) |
Definition at line 46 of file class.ilMD2XML.php.
{
$this->export_mode = $a_export_mode;
}
| ilMD2XML::startExport | ( | ) |
Definition at line 56 of file class.ilMD2XML.php.
References getExportMode().
{
// Starts the xml export and calls all element classes
$this->md_obj->setExportMode($this->getExportMode());
$this->md_obj->toXML($this);
}
Here is the call graph for this function:| ilMD2XML::$export_mode = false |
Definition at line 37 of file class.ilMD2XML.php.
| ilMD2XML::$md_obj = null |
Definition at line 36 of file class.ilMD2XML.php.
1.7.1