diff --git a/class.section.php b/class.section.php --- a/class.section.php +++ b/class.section.php @@ -146,4 +146,95 @@ function getF() return $this->bdays[4]; } + /** + * \brief + * Create output suitable for editing on input.php. + * + * \see Classes::input_form_render() + * + * \param $class_key + * The same $class_key passed to Classes::input_form_render(). + * \param $section_key + * The index of this section. + * \param $section_format + * The type of input method used for this section. Valid values + * are 'numerous', 'numbered', and 'lettered' + */ + function input_form_render($class_key, $section_key, $section_format = 'numerous') + { + static $n = "\n"; + $out = '