|
|
@@ -24,7 +24,6 @@ class Data_Source {
|
|
|
var $_sql_offset;
|
|
|
var $_sql_left_join;// TODO: left join in table
|
|
|
var $_isAccessFltrAllowed = null;
|
|
|
- private $_geomFields = array();
|
|
|
private $_fieldOwner = null;
|
|
|
private $_fieldGroupWrite = null;
|
|
|
private $_fieldGroupRead = null;
|
|
|
@@ -37,8 +36,6 @@ class Data_Source {
|
|
|
$this->_db = DB::getDB();
|
|
|
}
|
|
|
$this->_default_sql_limit = 10;
|
|
|
-
|
|
|
- $this->_geomFields = array('the_geom');
|
|
|
$this->_showMsgsSpecialFilter = true;// TODO: allow by acl, procesy?
|
|
|
}
|
|
|
|
|
|
@@ -184,7 +181,6 @@ class Data_Source {
|
|
|
}
|
|
|
$sqlCols = implode(", ", $sqlColsList);
|
|
|
}
|
|
|
- DBG::_('DBG_DS', '>2', "sqlCols", $sqlCols, __CLASS__, __FUNCTION__, __LINE__);
|
|
|
return $sqlCols;
|
|
|
}
|
|
|
|
|
|
@@ -922,12 +918,8 @@ class Data_Source {
|
|
|
return $insert_id;
|
|
|
}
|
|
|
|
|
|
- public function getGeomFields() {
|
|
|
- return $this->_geomFields;
|
|
|
- }
|
|
|
-
|
|
|
public function isGeomField($fldName) {
|
|
|
- return in_array($fldName, $this->_geomFields);
|
|
|
+ return ('the_geom' == $fldName);
|
|
|
}
|
|
|
|
|
|
public function isCsvNumericField($fldName) {
|