<?php return [
    'module_id' => 2,
    'module_name' => 'groups',
    'module_title' => 'Users Group',
    'module_note' => 'View All',
    'module_frontend_slug' => '',
    'module_author' => NULL,
    'module_created' => '2013-07-10 06:45:14',
    'module_desc' => NULL,
    'module_db' => 'tb_groups',
    'module_db_key' => 'group_id',
    'module_type' => 'core',
    'module_config' => [
        'table_db' => 'tb_groups',
        'primary_key' => 'id',
        'sql_select' => 'SELECT  
	tb_groups.group_id,
	tb_groups.name,
	tb_groups.description,
	tb_groups.level
FROM tb_groups ',
        'sql_where' => '  WHERE tb_groups.group_id IS NOT NULL ',
        'sql_group' => '  ',
        'grid' => [
            [
                'field' => 'group_id',
                'alias' => 'tb_groups',
                'label' => 'ID',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'width' => '100',
                'align' => 'left',
                'sortlist' => '0',
                'attribute' => [
                    'hyperlink' => [
                        'active' => 0,
                        'link' => '',
                        'target' => '_self',
                        'html' => '',
                    ],
                    'image' => [
                        'active' => 0,
                        'path' => '',
                        'size_x' => '',
                        'size_y' => '',
                        'html' => '',
                    ],
                ],
            ],
            [
                'field' => 'name',
                'alias' => 'tb_groups',
                'label' => 'Name',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'width' => '100',
                'align' => '',
                'sortlist' => '1',
                'attribute' => [
                    'hyperlink' => [
                        'active' => 0,
                        'link' => '',
                        'target' => '_self',
                        'html' => '',
                    ],
                    'image' => [
                        'active' => 0,
                        'path' => '',
                        'size_x' => '',
                        'size_y' => '',
                        'html' => '',
                    ],
                ],
            ],
            [
                'field' => 'description',
                'alias' => 'tb_groups',
                'label' => 'Description',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'width' => '100',
                'align' => '',
                'sortlist' => '2',
                'attribute' => [
                    'hyperlink' => [
                        'active' => 0,
                        'link' => '',
                        'target' => '_self',
                        'html' => '',
                    ],
                    'image' => [
                        'active' => 0,
                        'path' => '',
                        'size_x' => '',
                        'size_y' => '',
                        'html' => '',
                    ],
                ],
            ],
            [
                'field' => 'level',
                'alias' => 'tb_groups',
                'label' => 'Level',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'width' => '100',
                'align' => 'left',
                'sortlist' => '3',
                'attribute' => [
                    'hyperlink' => [
                        'active' => 0,
                        'link' => '',
                        'target' => '_self',
                        'html' => '',
                    ],
                    'image' => [
                        'active' => 0,
                        'path' => '',
                        'size_x' => '',
                        'size_y' => '',
                        'html' => '',
                    ],
                ],
            ],
        ],
        'forms' => [
            [
                'field' => 'group_id',
                'alias' => 'tb_groups',
                'language' => [
                    'id' => '',
                ],
                'label' => 'Group Id',
                'form_group' => '',
                'required' => '0',
                'view' => 1,
                'type' => 'hidden',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => 0,
                'sortlist' => '0',
                'limited' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '',
                    'image_multiple' => '',
                    'lookup_dependency_key' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                ],
            ],
            [
                'field' => 'name',
                'alias' => 'tb_groups',
                'language' => [
                    'id' => '',
                ],
                'label' => 'Name',
                'form_group' => '',
                'required' => 'required',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '1',
                'limited' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '',
                    'image_multiple' => '',
                    'lookup_dependency_key' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                ],
            ],
            [
                'field' => 'description',
                'alias' => 'tb_groups',
                'language' => [
                    'id' => '',
                ],
                'label' => 'Description',
                'form_group' => '',
                'required' => '0',
                'view' => 1,
                'type' => 'textarea',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => 0,
                'sortlist' => '2',
                'limited' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '',
                    'image_multiple' => '',
                    'lookup_dependency_key' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                ],
            ],
            [
                'field' => 'level',
                'alias' => 'tb_groups',
                'label' => 'Level',
                'form_group' => '',
                'required' => 'required',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'edit' => 1,
                'search' => '1',
                'size' => '',
                'sortlist' => '3',
                'limited' => '',
                'option' => [
                    'opt_type' => NULL,
                    'lookup_query' => '',
                    'lookup_table' => NULL,
                    'lookup_key' => NULL,
                    'lookup_value' => '',
                    'is_dependency' => NULL,
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => NULL,
                    'path_to_upload' => '',
                    'upload_type' => NULL,
                    'resize_width' => '',
                    'resize_height' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'prefix' => '',
                    'sufix' => '',
                ],
            ],
        ],
    ],
    'module_lang' => '{"title":{"id":""},"note":{"id":""}}',
];