add SQCManager

This commit is contained in:
stubbfel
2013-06-19 14:59:42 +02:00
parent 0d529ba7cb
commit 5ba6ca8387
9 changed files with 205 additions and 9 deletions

View 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");
}
}
?>