45 lines
873 B
PHP
45 lines
873 B
PHP
<?php
|
|
|
|
namespace database;
|
|
|
|
include_once "../../global.inc.php";
|
|
include_once PATH_DATABASE . "/SpsSqlManager.php";
|
|
include_once PATH_DATABASE . "/SqlManager.php";
|
|
|
|
/**
|
|
* Description of SpsSqlManager
|
|
*
|
|
* @author stubbfel
|
|
* @since 20.06.2013
|
|
*/
|
|
class SpsSqlManager extends SQLManager {
|
|
|
|
/**
|
|
* Default-Constructor
|
|
*/
|
|
public function __construct() {
|
|
parent::__construct();
|
|
}
|
|
|
|
/**
|
|
* Default-DEConstructor
|
|
*/
|
|
public function __destruct() {
|
|
parent::__destruct();
|
|
}
|
|
|
|
/**
|
|
* Methods send an query for the sps-service
|
|
* @param array $queryArgs
|
|
* @return array [num][assoc]
|
|
*/
|
|
public function sendSpsQuery($queryArgs = array()) {
|
|
// TODO Input validitaion
|
|
$alias = $queryArgs["alias"];
|
|
return $this->query("SELECT * FROM sps Where alias = \"$alias\"");
|
|
}
|
|
|
|
}
|
|
|
|
?>
|