public function render_assign_form(assign_form $form) {
        $o = '';
        if ($form->jsinitfunction) {
            $this->page->requires->js_init_call($form->jsinitfunction, array());
        }
        $o .= $this->output->box_start('boxaligncenter ' . $form->classname);
        $o .= $this->moodleform($form->form);
        $o .= $this->output->box_end();
        return $o;
    }
public function render_assign_form(assign_form $form) {
        $o = '';
        if ($form->jsinitfunction) {
            $this->page->requires->js_init_call($form->jsinitfunction, array());
        }
        $o .= $this->output->box_start('boxaligncenter ' . $form->classname);
        $o .= $this->moodleform($form->form);
        $o .= $this->output->box_end();
        return $o;
    }
public function render_assign_form ( assign_form $ form ) { $ o = '' ; if ( $ form -> jsinitfunction ) { $ this -> page -> requires -> js_init_call ( $ form -> jsinitfunction , array ( ) ) ; } $ o .= $ this -> output -> box_start ( 'boxaligncenter ' . $ form -> classname ) ; $ o .= $ this -> moodleform ( $ form -> form ) ; $ o .= $ this -> output -> box_end ( ) ; return $ o ; }
Render the generic form
@param assign_form $form The form to render
@return string
Render the generic form