Request['jobid']); $pathid = $this->Request['pathid']; $filenameid = intval($this->Request['filenameid']); $client = $this->Request['client']; $job = $this->getModule('job')->getJobById($jobid); if(!is_null($job)) { $cmd = array('.bvfs_versions', 'client="' . $client . '"', 'jobid="' . $job->jobid . '"', 'pathid="' . $pathid . '"', 'fnid="' . $filenameid . '"'); $result = $this->getModule('bconsole')->bconsoleCommand($this->director, $cmd, $this->user); $this->output = $result->output; $this->error = (integer)$result->exitcode; } else { $this->output = BVFSError::MSG_ERROR_JOB_DOES_NOT_EXISTS; $this->error = BVFSError::ERROR_JOB_DOES_NOT_EXISTS; } } } ?>