<?php return [
    'module_id' => 266,
    'module_name' => 'sections',
    'module_title' => 'Content Sections',
    'module_note' => 'Sections',
    'module_frontend_slug' => '',
    'module_author' => NULL,
    'module_created' => '2019-08-19 07:38:45',
    'module_desc' => NULL,
    'module_db' => 'sections',
    'module_db_key' => 'id',
    'module_type' => 'native',
    'module_config' => [
        'sql_select' => ' SELECT sections.* FROM sections ',
        'sql_where' => ' WHERE sections.id IS NOT NULL',
        'sql_group' => '',
        'table_db' => 'sections',
        'primary_key' => 'id',
        'setting' => [
            'gridtype' => '',
            'orderby' => 'id',
            'ordertype' => 'asc',
            'perpage' => '50',
            'frozen' => 'false',
            'form-method' => 'native',
            'view-method' => 'native',
            'inline' => 'false',
        ],
        'grid' => [
            [
                'field' => 'id',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'ID',
                'view' => 0,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '1',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'code',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Code',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '2',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'title',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Title',
                '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' => 'lang',
                'format_value' => '',
            ],
            [
                'field' => 'subtitle',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Subtitle',
                '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' => 'lang',
                'format_value' => '',
            ],
            [
                'field' => 'btn_title',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Btn Title',
                'view' => 0,
                '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' => 'lang',
                'format_value' => '',
            ],
            [
                'field' => 'name',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Name',
                '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' => '',
            ],
            [
                'field' => 'pageID',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Page',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '7',
                'conn' => [
                    'valid' => '1',
                    'db' => 'pages',
                    'key' => 'pageID',
                    'display' => 'slug',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'image',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Image',
                'view' => 0,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '8',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'btn_link',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Btn Link',
                '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' => '',
            ],
            [
                'field' => 'created_at',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Created At',
                'view' => 0,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '10',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
            [
                'field' => 'updated_at',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Updated At',
                'view' => 1,
                'detail' => 1,
                'sortable' => 1,
                'search' => 1,
                'download' => 1,
                'frozen' => 1,
                'limited' => '',
                'width' => '100',
                'align' => 'left',
                'sortlist' => '11',
                'conn' => [
                    'valid' => '0',
                    'db' => '',
                    'key' => '',
                    'display' => '',
                ],
                'format_as' => '',
                'format_value' => '',
            ],
        ],
        'form_column' => 2,
        'form_layout' => [
            'column' => 2,
            'title' => 'Content Section,Additional Details',
            'format' => 'grid',
            'display' => 'vertical',
        ],
        'forms' => [
            [
                'field' => 'id',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'ID',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'hidden',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '0',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
            [
                'field' => 'code',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Section Code',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => 'maxlength="25"',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '1',
                'limited' => '',
                'note' => 'Developer Purpose',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
            [
                'field' => 'name',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Name',
                'form_group' => '0',
                'required' => 0,
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '2',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
            [
                'field' => 'title',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Title',
                'form_group' => '0',
                'required' => '1',
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'lang',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '3',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
            [
                'field' => 'subtitle',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Subtitle',
                'form_group' => '0',
                'required' => 0,
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'lang_textarea',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '4',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
            [
                'field' => 'created_at',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Created At',
                'form_group' => '0',
                'required' => 0,
                'default' => '',
                'validations' => '',
                'view' => 0,
                'type' => 'update_timestamp',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '5',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
            [
                'field' => 'updated_at',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Updated At',
                'form_group' => '0',
                'required' => 0,
                'default' => '',
                'validations' => '',
                'view' => 0,
                'type' => 'update_timestamp',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '6',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
            [
                'field' => 'image',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Image',
                'form_group' => '1',
                'required' => 0,
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'image',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '7',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '/uploads/images/section',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
            [
                'field' => 'pageID',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Page',
                'form_group' => '1',
                'required' => 0,
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'select',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '8',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                'option' => [
                    'opt_type' => 'external',
                    'lookup_query' => '',
                    'lookup_table' => 'pages',
                    'lookup_key' => 'pageID',
                    'lookup_value' => 'slug',
                    'is_dependency' => '',
                    'select_multiple' => '0',
                    'image_multiple' => '0',
                    'lookup_dependency_key' => '',
                    'lookup_where_clause' => '',
                    'path_to_upload' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
            [
                'field' => 'btn_title',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Button Title',
                'form_group' => '1',
                'required' => 0,
                'default' => '',
                'validations' => '',
                'view' => 1,
                'type' => 'lang',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '9',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
            [
                'field' => 'btn_link',
                'alias' => 'sections',
                'language' => [
                ],
                'label' => 'Button Link',
                'form_group' => '1',
                'required' => 0,
                'default' => '',
                'validations' => 'maxlength="500"',
                'view' => 1,
                'type' => 'text',
                'add' => 1,
                'size' => '0',
                'edit' => 1,
                'search' => '1',
                'sortlist' => '10',
                'limited' => '',
                'note' => '',
                'dependency' => '',
                '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' => '',
                    'resize_width' => '',
                    'resize_height' => '',
                    'upload_type' => '',
                    'tooltip' => '',
                    'attribute' => '',
                    'extend_class' => '',
                    'is_json' => '0',
                    'is_ajax' => '0',
                ],
            ],
        ],
    ],
    'module_lang' => '[]',
];