IHMInputOutputGetProcessRequestClass.php 673 Bytes
<?php

/**
 * @class IHMInputOutputGetProcessRequestClass
 * @brief Class that's implement an InputOutputInterface used to get the request associated to a process
 * @details
 */
class IHMInputOutputGetProcessRequestClass extends IHMInputOutputGetInfoProcessClass
{
	/*
	 * @brief  translate output data from AMDA_Integration module to IHM client for a get info process request
	*/
	public function getOutput($data)
	{
		if (!$data->getSuccess())
		{
			return array(
				'success' => false,
				'message' => $data->getLastErrorMessage());
		}

                return $this->jobsManager->getRequestObjectFile($this->paramsData->getId());
	}
}

?>