}
parent::__construct($name, $task);
}
+
+ protected function get_backupid() {
+ if (is_null($this->task)) {
+ throw new backup_step_exception('not_specified_backup_task');
+ }
+ return $this->task->get_backupid();
+ }
}
/*
}
parent::__construct($name, $plan);
}
+
+ public function get_backupid() {
+ return $this->plan->get_backupid();
+ }
}
/*
return $this->task->get_setting_value($name);
}
- protected function get_backupid() {
- if (is_null($this->task)) {
- throw new base_step_exception('not_specified_base_task');
- }
- return $this->task->get_backupid();
- }
-
protected function get_courseid() {
if (is_null($this->task)) {
throw new base_step_exception('not_specified_base_task');
return $this->get_setting($name)->get_value();
}
- public function get_backupid() {
- return $this->plan->get_backupid();
- }
-
public function get_courseid() {
return $this->plan->get_courseid();
}