<commit_before><?php

use ZfcDatagrid\Datagrid;
use ZfcDatagrid\Renderer;
use ZfcDatagrid\Service;
use Zend\ServiceManager\Factory\InvokableFactory;

return [
    'ZfcDatagrid' => [

        'settings' => [

            'default' => [
                // If no specific rendere given, use this renderes for HTTP / console
                'renderer' => [
                    'http'    => 'bootstrapTable',
                    'console' => 'zendTable',
                ],
            ],

            'export' => [
                // Export is enabled?
                'enabled' => true,

                'formats' => [],
                // type => Displayname (Toolbar - you can use here HTML too...)
                // 'printHtml' => 'Print',
                // 'tcpdf' => 'PDF',
                // 'csv' => 'CSV',
                // 'PHPExcel' => 'Excel',

                // The output+save directory
                'path' => 'data/ZfcDatagrid',

                // mode can be:
                // direct = PHP handles header + file reading
                // @TODO iframe = PHP generates the file and a hidden <iframe> sends the document
                // (ATTENTION: your webserver must enable "force-download" for excel/pdf/...)
                'mode' => 'direct',
            ],
        ],

        // The cache is used to save the filter + sort and other things for exporting
        'cache' => [

            'adapter' => [
                'name'    => 'Filesystem',
                'options' => [
                    'ttl'       => 720000, // cache with 200 hours,
                    'cache_dir' => 'data/ZfcDatagrid',
                ],
            ],
            'plugins' => [
                'exception_handler' => [
                    'throw_exceptions' => false,
                ],

                'Serializer',
            ],
        ],

        'renderer' => [

            'bootstrapTable' => [
                'parameterNames' => [
                    // Internal => bootstrapTable
                    'currentPage'    => 'currentPage',
                    'sortColumns'    => 'sortByColumns',
                    'sortDirections' => 'sortDirections',

                    'massIds' => 'ids',

                    'method' => 'POST',
                ],

                'daterange' => [
                    'enabled' => false,
                ],
            ],

            'jqGrid' => [<commit_msg>fix for #47<commit_after><?php

use ZfcDatagrid\Datagrid;
use ZfcDatagrid\Renderer;
use ZfcDatagrid\Service;
use Zend\Cache\Storage;
use Zend\ServiceManager\Factory\InvokableFactory;

return [
    'ZfcDatagrid' => [

        'settings' => [

            'default' => [
                // If no specific rendere given, use this renderes for HTTP / console
                'renderer' => [
                    'http'    => 'bootstrapTable',
                    'console' => 'zendTable',
                ],
            ],

            'export' => [
                // Export is enabled?
                'enabled' => true,

                'formats' => [],
                // type => Displayname (Toolbar - you can use here HTML too...)
                // 'printHtml' => 'Print',
                // 'tcpdf' => 'PDF',
                // 'csv' => 'CSV',
                // 'PHPExcel' => 'Excel',

                // The output+save directory
                'path' => 'data/ZfcDatagrid',

                // mode can be:
                // direct = PHP handles header + file reading
                // @TODO iframe = PHP generates the file and a hidden <iframe> sends the document
                // (ATTENTION: your webserver must enable "force-download" for excel/pdf/...)
                'mode' => 'direct',
            ],
        ],

        // The cache is used to save the filter + sort and other things for exporting
        'cache' => [

            'adapter' => [
                'name'    => Storage\Adapter\Filesystem::class,
            ],
            'plugins' => [
                'exception_handler' => [
                    'throw_exceptions' => false,
                ],

                'Serializer',
            ],
        ],

        'renderer' => [

            'bootstrapTable' => [
                'parameterNames' => [
                    // Internal => bootstrapTable
                    'currentPage'    => 'currentPage',
                    'sortColumns'    => 'sortByColumns',
                    'sortDirections' => 'sortDirections',

                    'massIds' => 'ids',

                    'method' => 'POST',
                ],

                'daterange' => [
                    'enabled' => false,
                ],
            ],

            'jqGrid' => [
{'fraction_non_alphanumeric': 0.13051782682512733, 'fraction_numerical': 0.00233446519524618, 'mean_word_length': 1.0680122860903905, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 76, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3793881', 'n_tokens_mistral': 1277, 'n_tokens_neox': 1150, 'n_words': 277}