/** * Store the form's values for this change. * @param CHANGE $obj * @access private */ protected function _store_to_object($obj) { $obj->job_id = $this->value_for('job_id'); $obj->files = $this->value_for('files'); parent::_store_to_object($obj); }
/** * Store the form's values for this job. * @param JOB $obj * @access private */ protected function _store_to_object($obj) { $obj->set_assignee_id($this->value_for('assignee_id')); $obj->reporter_id = $this->value_for('reporter_id'); $obj->set_time_needed($this->value_for('time_needed')); parent::_store_to_object($obj); }