PostProcessTTClass.php
1.07 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
/**
* @class PostProcessTTClass
* @brief Data for a TT post process request
* @details
*/
class PostProcessTTClass
{
private $outputFileName = "";
private $postCmd = "";
private $outputDirAlias = "";
private $outputDir = "";
public $compression = false;
public function getOutputFileName()
{
return $this->outputFileName;
}
public function setOutputFileName($outputFileName)
{
$this->outputFileName = $outputFileName;
}
public function getPostCmd()
{
return $this->postCmd;
}
public function setPostCmd($postCmd)
{
$this->postCmd = $postCmd;
}
public function getOutputDir()
{
return $this->outputDir."/";
}
public function setOutputDir($outputDir)
{
$this->outputDir = $outputDir;
}
public function getOutputDirAlias()
{
return $this->outputDirAlias;
}
public function setOutputDirAlias($outputDir)
{
$pos = strpos($outputDir, '/data/');
if ($pos > 0)
$this->outputDirAlias = substr($outputDir,$pos + 1);
}
}
?>