Request['name']; $clientid = intval($this->Request['clientid']); $jobs = $this->getModule('job')->getRecentJobids($jobname, $clientid); if(!is_null($jobs)) { $this->output = $jobs; $this->error = JobError::ERROR_NO_ERRORS; } else { $this->output = JobError::MSG_ERROR_JOB_DOES_NOT_EXISTS; $this->error = JobError::ERROR_JOB_DOES_NOT_EXISTS; } } } ?>