public static function export_context_files(\context $context, \stdClass $user) {
        if ($context instanceof \context_module) {
            return static::export_context_module_files($context, $user);
        }
    }
public static function export_context_files(\context $context, \stdClass $user) {
        if ($context instanceof \context_module) {
            return static::export_context_module_files($context, $user);
        }
    }
public static function export_context_files ( \ context $ context , \ stdClass $ user ) { if ( $ context instanceof \ context_module ) { return static :: export_context_module_files ( $ context , $ user ) ; } }
Export all files for this context.

@param   \context        $context The context to export files for.
@param   \stdClass       $user The user being written.
@return  \stdClass
Export all files for this context .