mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
- Export in XML each object according to its actual class
SVN:trunk[274]
This commit is contained in:
@@ -482,6 +482,7 @@ abstract class cmdbAbstractObject extends CMDBObject
|
||||
$oSet->Seek(0);
|
||||
while ($oObj = $oSet->Fetch())
|
||||
{
|
||||
$sClassName = get_class($oObj);
|
||||
$oPage->add("<$sClassName id=\"".$oObj->GetKey()."\">\n");
|
||||
foreach(MetaModel::ListAttributeDefs($sClassName) as $sAttCode=>$oAttDef)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user