protected function save_intro_draft_files($formdata) {
        if (isset($formdata->introattachments)) {
            file_save_draft_area_files($formdata->introattachments, $this->get_context()->id,
                                       'mod_assign', ASSIGN_INTROATTACHMENT_FILEAREA, 0);
        }
    }
protected function save_intro_draft_files($formdata) {
        if (isset($formdata->introattachments)) {
            file_save_draft_area_files($formdata->introattachments, $this->get_context()->id,
                                       'mod_assign', ASSIGN_INTROATTACHMENT_FILEAREA, 0);
        }
    }
protected function save_intro_draft_files ( $ formdata ) { if ( isset ( $ formdata -> introattachments ) ) { file_save_draft_area_files ( $ formdata -> introattachments , $ this -> get_context ( ) -> id , 'mod_assign' , ASSIGN_INTROATTACHMENT_FILEAREA , 0 ) ; } }
Save the attachments in the draft areas.

@param stdClass $formdata
Save the attachments in the draft areas .