Blame view

src/InputOutput/WSImpl/Config/WSConfigClass.php 706 Bytes
d5a86709   Elena.Budnik   interim commit
1
2
3
4
5
6
7
8
9
10
11
<?php

/**
 * @class WSConfigClass
 * @brief Class that's contain all specific configuration of the WebServices client
 * @details
 */
class WSConfigClass
{
	const DOWNLOAD      = "download";
	const PLOT          = "plot";
07b282f0   Elena.Budnik   interim commit
12
	const ORBIT         = "orbit";
d5a86709   Elena.Budnik   interim commit
13
14
15
16
17
18
19
20
21
22
	
	public static $timeToBatchMode = 10;
	public static $enableBatch = true;
	public static $file_prefix = "result_";
	
	private static $wsResultDir = "WSRESULT";
	private static $jobsFile = "WSresults.xml";
	
	public static function getWsResultDir()
	{
07b282f0   Elena.Budnik   interim commit
23
			return IHMConfigClass::getDataDir().self::$wsResultDir.'/';
d5a86709   Elena.Budnik   interim commit
24
25
26
27
	}
	
	public static function getWsJobsFile()
	{
07b282f0   Elena.Budnik   interim commit
28
			return IHMConfigClass::getDataDir().self::$wsResultDir.'/'.self::$jobsFile;
d5a86709   Elena.Budnik   interim commit
29
30
31
	}
}
?>