add SQCManager
This commit is contained in:
26
geoapi/database/HelloApiSQLManager.php
Normal file
26
geoapi/database/HelloApiSQLManager.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
include_once "../../global.inc.php";
|
||||
include_once PATH_DATABASE . "/SQLManager.php";
|
||||
|
||||
/**
|
||||
* The SQLManager manage the SQL-Connection for an API
|
||||
*
|
||||
* @author stubbfel
|
||||
*/
|
||||
class HelloApiSQLManager extends SQLManager{
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function __destruct() {
|
||||
parent::__destruct();
|
||||
}
|
||||
|
||||
public function sendHelloQuery() {
|
||||
return $this->query("SELECT * FROM sps");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user