/** * Set the submission data from the form. * @param $submission Submission */ function setSubmissionData($submission) { $submission->setSectionId($this->getData('sectionId')); parent::setSubmissionData($submission); }
/** * Set the submission data from the form. * @param $submission Submission */ function setSubmissionData($submission) { $submission->setWorkType($this->getData('workType')); $submission->setSeriesId($this->getData('seriesId')); $submission->setSeriesPosition($this->getData('seriesPosition')); parent::setSubmissionData($submission); }