jobids); for($i = 0; $i < count($jobids); $i++) { $job = $this->getModule('job')->getJobById($jobids[$i]); if(is_null($job)) { $isValid = false; break; } } } else { $isValid = false; } if($isValid === true) { $result = $this->getModule('bconsole')->bconsoleCommand( $this->director, array('.bvfs_update', 'jobid="' . $ids->jobids . '"'), $this->user ); $this->output = $result->output; $this->error = $result->exitcode; } else { $this->output = BVFSError::MSG_ERROR_JOB_DOES_NOT_EXISTS; $this->error = BVFSError::ERROR_JOB_DOES_NOT_EXISTS; } } } ?>