27 lines
474 B
PHP
27 lines
474 B
PHP
<?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");
|
|
}
|
|
|
|
}
|
|
|
|
?>
|