add seiralmanager #66

This commit is contained in:
stubbfel
2013-07-01 17:47:45 +02:00
parent 802b561187
commit aa03fdcd1b
10 changed files with 83 additions and 23 deletions

View File

@@ -30,9 +30,9 @@ class PssApi extends Api {
/**
* Default-Constructor
*/
public function __construct() {
public function __construct($headers = array()) {
$this->sqlManager = new \database\PssSqlManager();
parent::__construct();
parent::__construct($headers);
}
/**
@@ -52,7 +52,7 @@ class PssApi extends Api {
if (count($pidList) < $this->maxPid) {
$result = $this->sqlManager->sendPssQuery($pidList);
return \utiliy\XmlManager::arrayToPssXml($result);
return $this->serialManager->arrayTopis($result);
}
return NULL;
}