sqlManager = new \database\PisSqlManager(); parent::__construct($headers); } /** * Default-DeConstructor */ public function __destruct() { parent::__destruct(); } /** * Method start a pis-query * @param array $queryArgs * @return query result as xml */ public function sendPisQuery($queryArgs) { $pidList = \utiliy\ArrayManager::removeEmptyItmes($queryArgs[self::$keyPidList]); if (array_key_exists(self::$keyINameList, $queryArgs)) { $iNameList = \utiliy\ArrayManager::removeEmptyItmes($queryArgs[self::$keyINameList]); } else { $iNameList = array(); } if (count($pidList) < self::$maxPid) { $result = $this->sqlManager->sendPisQuery($pidList, $iNameList); return $this->serialManager->arrayToPis($result); } return NULL; } } ?>