PostProcessTTClass.php 1.07 KB
<?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);
	}
	
}

?>