<?php return [
    'module_id' => 21,
    'module_name' => 'notification',
    'module_title' => 'Notification',
    'module_note' => 'View my notification',
    'module_frontend_slug' => '',
    'module_author' => NULL,
    'module_created' => '2015-07-09 05:20:42',
    'module_desc' => NULL,
    'module_db' => 'tb_notification',
    'module_db_key' => 'id',
    'module_type' => 'core',
    'module_config' => [
        'table_db' => 'tb_notification',
        'primary_key' => 'id',
        'setting' => [
            'gridtype' => '',
            'orderby' => 'postedBy',
            'ordertype' => 'asc',
            'perpage' => '50',
            'frozen' => 'false',
            'form-method' => 'native',
            'view-method' => 'native',
            'inline' => 'false',
        ],
        'sql_select' => ' SELECT tb_notification.* FROM tb_notification ',
        'sql_where' => ' WHERE tb_notification.id IS NOT NULL',
        'sql_group' => '',
        'grid' => [
            [
                'field' => 'id',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Id',
                'view' => 0,
                'detail' => 0,
                'sortable' => 0,
                'search' => 1,
                'download' => 0,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '1',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
                'type' => 'text',
            ],
            [
                'field' => 'userid',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Userid',
                'view' => 0,
                'detail' => 0,
                'sortable' => 0,
                'search' => 1,
                'download' => 0,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '2',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
                'type' => 'text',
            ],
            [
                'field' => 'url',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Url',
                'view' => 0,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '5',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
                'type' => 'text',
            ],
            [
                'field' => 'title',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Title',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '3',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
                'type' => 'text',
            ],
            [
                'field' => 'note',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Note',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '4',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
                'type' => 'text',
            ],
            [
                'field' => 'created',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Date',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '6',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
                'type' => 'text',
            ],
            [
                'field' => 'icon',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Icon',
                'view' => 0,
                'detail' => 0,
                'sortable' => 0,
                'search' => 1,
                'download' => 0,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '7',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
                'type' => 'text',
            ],
            [
                'field' => 'is_read',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Is Read',
                'view' => 0,
                'detail' => 0,
                'sortable' => 0,
                'search' => 1,
                'download' => 0,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '8',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
                'type' => 'text',
            ],
            [
                'field' => 'postedBy',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'PostedBy',
                'view' => 0,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '9',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
                'type' => 'text',
            ],
        ],
        'forms' => [
            [
                'field' => 'id',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Id',
                'form_group' => '',
                'required' => '0',
                'view' => 0,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => 0,
                'sortlist' => '1',
                'limited' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'prefix' => '',
                    'sufix' => '',
                ],
            ],
            [
                'field' => 'userid',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Userid',
                'form_group' => '',
                'required' => '0',
                'view' => 0,
                'type' => 'text',
                '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' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'prefix' => '',
                    'sufix' => '',
                ],
            ],
            [
                'field' => 'url',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Url',
                'form_group' => '',
                'required' => '0',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => 0,
                'sortlist' => '4',
                'limited' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'prefix' => '',
                    'sufix' => '',
                ],
            ],
            [
                'field' => 'title',
                'alias' => 'tb_notification',
                'label' => 'Title',
                'language' => [
                ],
                'required' => '0',
                'view' => '1',
                'type' => 'textarea',
                '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' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                ],
            ],
            [
                'field' => 'note',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Note',
                'form_group' => '',
                'required' => '0',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '5',
                'limited' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'prefix' => '',
                    'sufix' => '',
                ],
            ],
            [
                'field' => 'created',
                'alias' => 'tb_notification',
                'label' => 'Date',
                'form_group' => '',
                'required' => '0',
                'view' => 1,
                'type' => 'text_date',
                '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' => '',
                ],
            ],
            [
                'field' => 'icon',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Icon',
                'form_group' => '',
                'required' => '0',
                'view' => 0,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => 0,
                'sortlist' => '6',
                'limited' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'prefix' => '',
                    'sufix' => '',
                ],
            ],
            [
                'field' => 'is_read',
                'alias' => 'tb_notification',
                'language' => [
                ],
                'label' => 'Is Read',
                'form_group' => '',
                'required' => '0',
                'view' => 0,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => 0,
                'sortlist' => '7',
                'limited' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'prefix' => '',
                    'sufix' => '',
                ],
            ],
            [
                'field' => 'postedBy',
                'alias' => 'tb_notification',
                'label' => 'PostedBy',
                'language' => [
                ],
                'required' => '0',
                'view' => '1',
                'type' => 'textarea',
                'add' => '1',
                'edit' => '1',
                'search' => '1',
                'size' => 'span12',
                'sortlist' => 8,
                'form_group' => '',
                'option' => [
                    'opt_type' => '',
                    'lookup_query' => '',
                    'lookup_table' => '',
                    'lookup_key' => '',
                    'lookup_value' => '',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'path_to_upload' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                ],
            ],
        ],
    ],
    'module_lang' => '[]',
];