Rename 'trial' to 'experiment'

This commit is contained in:
Eike Foken
2011-09-08 01:37:32 +02:00
parent 33e116ed60
commit 7b329f4501
25 changed files with 341 additions and 277 deletions

View File

@@ -31,14 +31,14 @@ class Program_runner {
}
/**
* Creates a job from the specified trial.
* Creates a job from the specified experiment.
*
* @param string $trialId
* @param string $experimentId
*/
public function createJob($trialId) {
if ($this->driver->_createJob($trialId)) {
public function createJob($experimentId) {
if ($this->driver->_createJob($experimentId)) {
$this->CI->load->model('job');
$this->CI->job->create(array('trial_id' => $trialId, 'started_by' => $this->CI->session->userdata('user_id')));
$this->CI->job->create(array('experiment_id' => $experimentId, 'started_by' => $this->CI->session->userdata('user_id')));
}
return true;
}