|
|
@@ -5,7 +5,7 @@ Lib::loadClass('RouteBase');
|
|
|
class Route_WfsBiAudit extends RouteBase {
|
|
|
|
|
|
const maxResolveDepth = 3;
|
|
|
- private $dom, $path = [], $relations = [], $tablesUsed = [], $BaseStruct = [];
|
|
|
+ private $dom, $path = [], $relations = [], $tablesUsed = [];
|
|
|
|
|
|
private static function output($output) {
|
|
|
header("Content-Type: application/xml");
|
|
|
@@ -62,15 +62,10 @@ public function objectStructView($item) {
|
|
|
$return['table']=$item['name'];
|
|
|
$return['primaryKey']=$item['primaryKey'];
|
|
|
|
|
|
- $this->BaseStruct=$return;
|
|
|
-
|
|
|
-
|
|
|
-echo "BaseStruct 1
|
|
|
-";
|
|
|
-print_r($this->BaseStruct);
|
|
|
+ //print_r($this->BaseStruct);
|
|
|
|
|
|
|
|
|
- //return $return;
|
|
|
+ return $return;
|
|
|
|
|
|
}
|
|
|
|
|
|
@@ -182,7 +177,7 @@ print_r($this->BaseStruct);
|
|
|
if (!($ID = DB::getPDO()->fetchValue($query))) {
|
|
|
|
|
|
|
|
|
- $this->objectStructureAction('default_db/'.DB::getPDO()->quote($table).'/'.DB::getPDO()->quote($table));
|
|
|
+ $this->BaseStruct=$this->objectStructureAction('default_db/'.DB::getPDO()->quote($table).'/'.DB::getPDO()->quote($table));
|
|
|
|
|
|
|
|
|
echo "BaseStruct 2
|