Blame view

src/InputOutput/WSImpl/Config/WSConfigClass.php 690 Bytes
d5a86709   Elena.Budnik   interim commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php

/**
 * @class WSConfigClass
 * @brief Class that's contain all specific configuration of the WebServices client
 * @details
 */
class WSConfigClass
{
	const DOWNLOAD      = "download";
	const PLOT          = "plot";
	
	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()
	{
			return IHM_SRC_DIR.IHMConfigClass::$dataDir.self::$wsResultDir.'/';
	}
	
	public static function getWsJobsFile()
	{
			return IHM_SRC_DIR.IHMConfigClass::$dataDir.self::$wsResultDir.'/'.self::$jobsFile;
	}
}
?>