diff --git a/docu/apiclass/ApiClass.php b/docu/apiclass/ApiClass.php index bf21860..1f6d986 100644 --- a/docu/apiclass/ApiClass.php +++ b/docu/apiclass/ApiClass.php @@ -154,7 +154,7 @@ class ApiClass extends \SYSTEM\API\apiloginclass { //DB hook for loginapi protected static function getUserDBInfo(){ - return new DBD\dasenseuser();} + return new SQL\dasenseuser();} //#OLD //public static function call_account_flag_login(){} diff --git a/docu/index/api.php b/docu/index/api.php index b480460..261d6ba 100644 --- a/docu/index/api.php +++ b/docu/index/api.php @@ -4,7 +4,7 @@ require_once 'system/autoload.inc.php'; require_once 'dbd/autoload.inc.php'; require_once 'dasense/autoload.inc.php'; -$call = new DBD\dasensedata(); +$call = new SQL\dasensedata(); /*$call = array( array(\SQL\APITable::FIELD_ID => 0, \SQL\APITable::FIELD_FLAG =>0, \SQL\APITable::FIELD_PARENTID =>-1, \SQL\APITable::FIELD_PARENTVALUE =>NULL, \SQL\APITable::FIELD_NAME =>'call', \SQL\APITable::FIELD_ALLOWEDVALUES =>NULL), array(\SQL\APITable::FIELD_ID => 45, \SQL\APITable::FIELD_FLAG =>1, \SQL\APITable::FIELD_PARENTID =>1, \SQL\APITable::FIELD_PARENTVALUE =>'geopoint', \SQL\APITable::FIELD_NAME =>'datatype', \SQL\APITable::FIELD_ALLOWEDVALUES =>'ALL'), array(\SQL\APITable::FIELD_ID => 120, \SQL\APITable::FIELD_FLAG =>0, \SQL\APITable::FIELD_PARENTID =>60, \SQL\APITable::FIELD_PARENTVALUE =>'login', \SQL\APITable::FIELD_NAME =>'compatibility', \SQL\APITable::FIELD_ALLOWEDVALUES =>'FLAG'), diff --git a/docu/index/index.php b/docu/index/index.php index a670dc6..495cdfb 100644 --- a/docu/index/index.php +++ b/docu/index/index.php @@ -8,7 +8,7 @@ require_once 'dasense/autoload.inc.php'; error_reporting(E_ALL); ini_set('display_errors', TRUE); // evtl. hilfreich -$call = new DBD\dasensedata(); +$call = new SQL\dasensedata(); /*$call = array( array(\SQL\PAGETable::FIELD_ID=>6, \SQL\PAGETable::FIELD_FLAG=>1, \SQL\PAGETable::FIELD_PARENTID=>5, \SQL\PAGETable::FIELD_PARENTVALUE=>'sensor', \SQL\PAGETable::FIELD_NAME=>'sensorIDs', \SQL\PAGETable::FIELD_ALLOWEDVALUES=>'ALL'), array(\SQL\PAGETable::FIELD_ID=>5, \SQL\PAGETable::FIELD_FLAG=>0, \SQL\PAGETable::FIELD_PARENTID=>-1, \SQL\PAGETable::FIELD_PARENTVALUE=>NULL, \SQL\PAGETable::FIELD_NAME=>'action', \SQL\PAGETable::FIELD_ALLOWEDVALUES=>'ALL'), array(\SQL\PAGETable::FIELD_ID=>0, \SQL\PAGETable::FIELD_FLAG=>0, \SQL\PAGETable::FIELD_PARENTID=>-1, \SQL\PAGETable::FIELD_PARENTVALUE=>NULL, \SQL\PAGETable::FIELD_NAME=>'module', \SQL\PAGETable::FIELD_ALLOWEDVALUES=>'ALL'),