public function start($obj) { RsmlView::start($obj); if ($obj instanceof RemoteNode || $obj->hasAttribute('user-change')) { if (!$obj->idAttribute(RsmlNode::CTX_PLAIN)) { if ($obj->hasAttribute('name')) { $obj->setIdAttribute($obj->attribute('name', RsmlNode::CTX_PLAIN) . '_' . microtime(true)); } else { $obj->setIdAttribute($obj->name() . '_' . microtime(true)); } } $this->cached_map[$obj->idAttribute(RsmlNode::CTX_PLAIN)] = $obj; } }