1: <?php
2:
3: include_once "../../global.inc.php";
4: include_once PATH_DATABASE . "/HelloApiSQLManager.php";
5: require_once PATH_API . "/Api.php";
6:
7: /*
8: * To change this template, choose Tools | Templates
9: * and open the template in the editor.
10: */
11:
12: /**
13: * Description of HelloApi
14: *
15: * @author stubbfel
16: */
17: class HelloApi extends Api {
18:
19: public function __construct() {
20: $this->sqlManager = new HelloApiSQLManager();
21: parent::__construct();
22: }
23:
24: public function __destruct() {
25: parent::__destruct();
26: }
27:
28: public function sendHelloQuery() {
29: return $this->sqlManager->sendHelloQuery();
30: }
31:
32: }
33:
34: ?>
35: