35 lines
644 B
PHP
35 lines
644 B
PHP
<?php
|
|
|
|
include_once "../../global.inc.php";
|
|
include_once PATH_DATABASE . "/SpsSqlManager.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 SpsApi extends Api {
|
|
|
|
public function __construct() {
|
|
$this->sqlManager = new SpsSqlManager();
|
|
parent::__construct();
|
|
}
|
|
|
|
public function __destruct() {
|
|
parent::__destruct();
|
|
}
|
|
|
|
public function sendSpsQuery($queryArgs = array()) {
|
|
return $this->sqlManager->sendSpsQuery($queryArgs);
|
|
}
|
|
|
|
}
|
|
|
|
?>
|