|
|
@@ -349,6 +349,7 @@ class Api_Wfs_GetFeature {
|
|
|
$xmlWriter->writeAttribute("p5:allow_write", "true");
|
|
|
}
|
|
|
$xmlWriter->writeAttribute('xlink:href', $xlink);
|
|
|
+ $xmlWriter->writeAttribute('p5:primaryKey', substr($xlink, strrpos($xlink, '.') + 1));
|
|
|
$xmlWriter->endElement();// {$itemPrefix}:{$fldName}
|
|
|
return;
|
|
|
}
|
|
|
@@ -392,6 +393,7 @@ class Api_Wfs_GetFeature {
|
|
|
foreach ($attrs as $name => $value) {
|
|
|
$xmlWriter->writeAttribute($name, $value);
|
|
|
}
|
|
|
+ if (!empty($item['@primaryKey'])) $xmlWriter->writeAttribute('p5:primaryKey', $item['@primaryKey']);
|
|
|
|
|
|
// $fldList = $acl->getRealFieldListByIdZasob();
|
|
|
$fldList = $acl->getFieldListByIdZasob();
|