protected static function export_data($context, $user) {
        if (!$context) {
            return;
        }
        $contextdata = helper::get_context_data($context, $user);
        helper::export_context_files($context, $user);
        writer::with_context($context)->export_data([], $contextdata);
    }
protected static function export_data($context, $user) {
        if (!$context) {
            return;
        }
        $contextdata = helper::get_context_data($context, $user);
        helper::export_context_files($context, $user);
        writer::with_context($context)->export_data([], $contextdata);
    }
protected static function export_data ( $ context , $ user ) { if ( ! $ context ) { return ; } $ contextdata = helper :: get_context_data ( $ context , $ user ) ; helper :: export_context_files ( $ context , $ user ) ; writer :: with_context ( $ context ) -> export_data ( [ ] , $ contextdata ) ; }
Export basic info about database activity module

@param \context $context
@param \stdClass $user
Export basic info about database activity module