public function get_files($includedirs = true, $updatedsince = 0) {
        $fs = get_file_storage();
        return $fs->get_area_files($this->lesson->context->id, 'mod_lesson', 'page_contents', $this->properties->id,
                                    'itemid, filepath, filename', $includedirs, $updatedsince);
    }
public function get_files($includedirs = true, $updatedsince = 0) {
        $fs = get_file_storage();
        return $fs->get_area_files($this->lesson->context->id, 'mod_lesson', 'page_contents', $this->properties->id,
                                    'itemid, filepath, filename', $includedirs, $updatedsince);
    }
public function get_files ( $ includedirs = true , $ updatedsince = 0 ) { $ fs = get_file_storage ( ) ; return $ fs -> get_area_files ( $ this -> lesson -> context -> id , 'mod_lesson' , 'page_contents' , $ this -> properties -> id , 'itemid, filepath, filename' , $ includedirs , $ updatedsince ) ; }
Get files from the page 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
Get files from the page area file .