|
|
@@ -102,7 +102,7 @@ public function objectStructView($item) {
|
|
|
return $this->relations[$ID];
|
|
|
}
|
|
|
|
|
|
- private function findRelations_base($node, $ID, $resolveDepth, $relation = null, $BaseStruct,$table) {
|
|
|
+ private function findRelations_base($node, $ID, $resolveDepth, $relation = null, $BaseStruct=null,$table=null) {
|
|
|
if (in_array($ID, $this->path)) return;
|
|
|
$this->path[] = $ID;
|
|
|
|
|
|
@@ -238,7 +238,7 @@ public function objectStructView($item) {
|
|
|
if (!($ID = DB::getPDO()->fetchValue($query))) {
|
|
|
self::throwServiceException("Błąd danych z BaseStruct ");
|
|
|
}
|
|
|
- $this->findRelations_base($gml, $ID, $resolveDepth,$this->BaseStruct,$table);
|
|
|
+ $this->findRelations_base($gml, $ID, $resolveDepth,$table,$this->BaseStruct,$table);
|
|
|
|
|
|
foreach ($this->tablesUsed as $table) $this->addAttribute($wfs, "xmlns:default_db__x3A__{$table}", "https://biuro.biall-net.pl/wfs/default_db/{$table}");
|
|
|
$attrs = [
|