<?php return [
    'module_id' => 306,
    'module_name' => 'cacheswitch',
    'module_title' => 'Cache Switch',
    'module_note' => 'Cache Switch',
    'module_frontend_slug' => '',
    'module_author' => NULL,
    'module_created' => '2019-09-12 14:41:59',
    'module_desc' => NULL,
    'module_db' => 'cache_switches',
    'module_db_key' => 'id',
    'module_type' => 'core',
    'module_config' => [
        'table_db' => 'cache',
        'primary_key' => '',
        'sql_select' => 'SELECT cache_switches.* FROM cache_switches ',
        'sql_where' => ' WHERE id is NOT NULL ',
        'sql_group' => '',
        'grid' => [
            [
                'field' => 'id',
                'alias' => 'cache_switches',
                'label' => 'Id',
                'language' => [
                ],
                'search' => '1',
                'download' => '1',
                'align' => 'left',
                'view' => 0,
                'detail' => '1',
                'sortable' => '1',
                'frozen' => '0',
                'hidden' => '0',
                'sortlist' => 0,
                'width' => '100',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'name',
                'alias' => 'cache_switches',
                'label' => 'Name',
                'language' => [
                ],
                'search' => '1',
                'download' => '1',
                'align' => 'left',
                'view' => 1,
                'detail' => '1',
                'sortable' => '1',
                'frozen' => '0',
                'hidden' => '0',
                'sortlist' => 1,
                'width' => '100',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'cache_key',
                'alias' => 'cache_switches',
                'label' => 'Cache Key',
                'language' => [
                ],
                'search' => '1',
                'download' => '1',
                'align' => 'left',
                'view' => 1,
                'detail' => '1',
                'sortable' => '1',
                'frozen' => '0',
                'hidden' => '0',
                'sortlist' => 2,
                'width' => '100',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'duration',
                'alias' => 'cache_switches',
                'label' => 'Duration',
                'language' => [
                ],
                'search' => '1',
                'download' => '1',
                'align' => 'left',
                'view' => 1,
                'detail' => '1',
                'sortable' => '1',
                'frozen' => '0',
                'hidden' => '0',
                'sortlist' => 3,
                'width' => '100',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'page',
                'alias' => 'cache_switches',
                'label' => 'Page',
                'language' => [
                ],
                'search' => '1',
                'download' => '1',
                'align' => 'left',
                'view' => 1,
                'detail' => '1',
                'sortable' => '1',
                'frozen' => '0',
                'hidden' => '0',
                'sortlist' => 4,
                'width' => '100',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'used_for',
                'alias' => 'cache_switches',
                'label' => 'Used For',
                'language' => [
                ],
                'search' => '1',
                'download' => '1',
                'align' => 'left',
                'view' => 1,
                'detail' => '1',
                'sortable' => '1',
                'frozen' => '0',
                'hidden' => '0',
                'sortlist' => 5,
                'width' => '100',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
        ],
        'forms' => [
            [
                'field' => 'id',
                'alias' => 'cache_switches',
                'label' => 'Id',
                'language' => [
                ],
                'required' => 1,
                'default' => NULL,
                'validations' => '',
                'view' => '1',
                'type' => 'hidden',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 0,
                'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => 0,
                    'is_ajax' => 1,
                ],
            ],
            [
                'field' => 'name',
                'alias' => 'cache_switches',
                'label' => 'Name',
                'language' => [
                ],
                'required' => 1,
                'default' => NULL,
                'validations' => 'maxlength="255"',
                'view' => '1',
                'type' => 'text',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 1,
                'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => 0,
                    'is_ajax' => 1,
                ],
            ],
            [
                'field' => 'cache_key',
                'alias' => 'cache_switches',
                'label' => 'Cache Key',
                'language' => [
                ],
                'required' => 1,
                'default' => NULL,
                'validations' => 'maxlength="255"',
                'view' => '1',
                'type' => 'text',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 2,
                'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => 0,
                    'is_ajax' => 1,
                ],
            ],
            [
                'field' => 'duration',
                'alias' => 'cache_switches',
                'label' => 'Duration',
                'language' => [
                ],
                'required' => 1,
                'default' => NULL,
                'validations' => 'maxlength="11"',
                'view' => '1',
                'type' => 'text_number',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 3,
                'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => 0,
                    'is_ajax' => 1,
                ],
            ],
            [
                'field' => 'page',
                'alias' => 'cache_switches',
                'label' => 'Page',
                'language' => [
                ],
                'required' => 1,
                'default' => NULL,
                'validations' => 'maxlength="255"',
                'view' => '1',
                'type' => 'text',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 4,
                'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => 0,
                    'is_ajax' => 1,
                ],
            ],
            [
                'field' => 'used_for',
                'alias' => 'cache_switches',
                'label' => 'Used For',
                'language' => [
                ],
                'required' => 1,
                'default' => 'frontend',
                'validations' => '',
                'view' => '1',
                'type' => 'radio',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 5,
                'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => 'frontend:Frontend|admin:Admin|api:Api|other:Other',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => 0,
                    'is_ajax' => 1,
                ],
            ],
        ],
    ],
    'module_lang' => '{"title":{"ar":""},"note":{"ar":""}}',
];