Esempio n. 1
0
 /**
  * Returns the edit course completion form.
  *
  * @return string HTML for the form.
  */
 function get_completion_edit_form($crsid, $elemid = 0)
 {
     $output = '';
     $crs = new course($crsid);
     $crs->seturl(null, array('s' => 'crs', 'section' => 'curr', 'action' => 'selem'));
     $output .= $crs->edit_completion_form_html($elemid);
     return $output;
 }