35 lines
630 B
PHP
35 lines
630 B
PHP
<?php
|
|
|
|
include_once "../../global.inc.php";
|
|
include_once PATH_DATABASE . "/HelloApiSQLManager.php";
|
|
require_once PATH_API . "/Api.php";
|
|
|
|
/*
|
|
* To change this template, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
/**
|
|
* Description of HelloApi
|
|
*
|
|
* @author stubbfel
|
|
*/
|
|
class HelloApi extends Api {
|
|
|
|
public function __construct() {
|
|
$this->sqlManager = new HelloApiSQLManager();
|
|
parent::__construct();
|
|
}
|
|
|
|
public function __destruct() {
|
|
parent::__destruct();
|
|
}
|
|
|
|
public function sendHelloQuery() {
|
|
return $this->sqlManager->sendHelloQuery();
|
|
}
|
|
|
|
}
|
|
|
|
?>
|