<?php /** * @class WSConfigClass * @brief Class that's contain all specific configuration of the WebServices client * @details */ class WSConfigClass { const DOWNLOAD = "download"; const PLOT = "plot"; const ORBIT = "orbit"; public static $timeToBatchMode = 10; public static $enableBatch = true; public static $file_prefix = "result_"; private static $wsResultDir = "WSRESULT"; private static $jobsFile = "WSresults.xml"; private static $WebUrl = "http://apus.irap.omp.eu/NEWAMDA/data/"; public static function getUrl() { return self::$WebUrl.self::$wsResultDir.'/'; } public static function getWsResultDir() { return IHMConfigClass::getDataDir().self::$wsResultDir.'/'; } public static function getWsJobsFile() { return IHMConfigClass::getDataDir().self::$wsResultDir.'/'.self::$jobsFile; } } ?>