Faster navigator: less data output, and also more robust since so strange data appeared in the export of the linkset attributes, that broke the XML export...

SVN:trunk[601]
This commit is contained in:
Denis Flaven
2010-07-13 15:45:14 +00:00
parent 2efb732ba9
commit 320166791e

View File

@@ -44,7 +44,10 @@ function AddNodeDetails(&$oNode, $oObj)
{
$oAttDef = MetaModel::GetAttributeDef(get_class($oObj), $sAttCode);
$aLabels[] = $oAttDef->GetLabel();
$oNode->SetAttribute('att_'.$index, $oObj->Get($sAttCode));
if (!$oAttDef->IsLinkSet())
{
$oNode->SetAttribute('att_'.$index, $oObj->Get($sAttCode));
}
$index++;
}
$oNode->SetAttribute('zlist', implode(',', $aLabels));