original_string: protected function get_form_start_date($mform, $fieldnames) {
          $startdate = $mform->getElementValue($fieldnames['startdate']);
          return $mform->getElement($fieldnames['startdate'])->exportValue($startdate);
      }
code: protected function get_form_start_date($mform, $fieldnames) {
          $startdate = $mform->getElementValue($fieldnames['startdate']);
          return $mform->getElement($fieldnames['startdate'])->exportValue($startdate);
      }
code_tokens: protected function get_form_start_date ( $ mform , $ fieldnames ) { $ startdate = $ mform -> getElementValue ( $ fieldnames [ 'startdate' ] ) ; return $ mform -> getElement ( $ fieldnames [ 'startdate' ] ) -> exportValue ( $ startdate ) ; }
docstring: Get the start date value from the course settings page form.
  
  @param moodleform $mform
  @param array $fieldnames The form - field names mapping.
  @return int
docstring_tokens: Get the start date value from the course settings page form .