original_string: public function get_files($includedirs = true, $updatedsince = 0) {
  
          $lesson = lesson::load($this->properties->lessonid);
          $fs = get_file_storage();
          $answerfiles = $fs->get_area_files($lesson->context->id, 'mod_lesson', 'page_answers', $this->properties->id,
                                              'itemid, filepath, filename', $includedirs, $updatedsince);
          $responsefiles = $fs->get_area_files($lesson->context->id, 'mod_lesson', 'page_responses', $this->properties->id,
                                              'itemid, filepath, filename', $includedirs, $updatedsince);
          return array_merge($answerfiles, $responsefiles);
      }
code: public function get_files($includedirs = true, $updatedsince = 0) {
  
          $lesson = lesson::load($this->properties->lessonid);
          $fs = get_file_storage();
          $answerfiles = $fs->get_area_files($lesson->context->id, 'mod_lesson', 'page_answers', $this->properties->id,
                                              'itemid, filepath, filename', $includedirs, $updatedsince);
          $responsefiles = $fs->get_area_files($lesson->context->id, 'mod_lesson', 'page_responses', $this->properties->id,
                                              'itemid, filepath, filename', $includedirs, $updatedsince);
          return array_merge($answerfiles, $responsefiles);
      }
code_tokens: public function get_files ( $ includedirs = true , $ updatedsince = 0 ) { $ lesson = lesson :: load ( $ this -> properties -> lessonid ) ; $ fs = get_file_storage ( ) ; $ answerfiles = $ fs -> get_area_files ( $ lesson -> context -> id , 'mod_lesson' , 'page_answers' , $ this -> properties -> id , 'itemid, filepath, filename' , $ includedirs , $ updatedsince ) ; $ responsefiles = $ fs -> get_area_files ( $ lesson -> context -> id , 'mod_lesson' , 'page_responses' , $ this -> properties -> id , 'itemid, filepath, filename' , $ includedirs , $ updatedsince ) ; return array_merge ( $ answerfiles , $ responsefiles ) ; }
docstring: Get files from the answer area file.
  
  @param bool $includedirs whether or not include directories
  @param int $updatedsince return files updated since this time
  @return array list of stored_file objects
  @since  Moodle 3.2
docstring_tokens: Get files from the answer area file .