Overview

Namespaces

  • None
  • PHP
  • Slim
    • Exception
    • Http
    • Middleware

Classes

  • Api
  • HelloApi
  • HelloApiSQLManager
  • SpsApi
  • SpsSqlManager
  • SQLManager
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: include_once "../../global.inc.php"; 
 3: include_once PATH_DATABASE . "/SQLManager.php";
 4: 
 5: /**
 6:  * The SQLManager manage the SQL-Connection for an API
 7:  *
 8:  * @author stubbfel
 9:  */
10: class HelloApiSQLManager  extends SQLManager{
11: 
12:     public function __construct() {
13:         parent::__construct();
14:     }
15: 
16:     public function __destruct() {
17:         parent::__destruct();
18:     }
19: 
20:     public function sendHelloQuery() {
21:         return $this->query("SELECT * FROM sps");
22:     }
23: 
24: }
25: 
26: ?>
27: 
GeoApi API documentation generated by ApiGen 2.8.0