<?php

/**
 * class for get help page.
 *
 * @link       https://themeatelier.net
 * @since      1.0.0
 *
 * @package chat-whatsapp
 * @subpackage greet-bubble/src/Admin/Views/Advance
 * @author     ThemeAtelier<themeatelierbd@gmail.com>
 */

namespace ThemeAtelier\GreetBubble\Admin\Views;

use ThemeAtelier\GreetBubble\Admin\Framework\Classes\GREET_BUBBLE;

class GetHelp
{

    /**
     * Create Option fields for the setting options.
     *
     * @param string $prefix Option setting key prefix.
     * @return void
     */
    public static function options($prefix)
    {
        GREET_BUBBLE::createOptions($prefix, array(
            'menu_title'              => esc_html__('Greet Help', 'greet-bubble'),
            'menu_slug'               => 'greet-bubble-help',
            'menu_type'               => 'submenu',
            'show_search'             => false,
            'show_bar_menu'           => false,
            'show_sub_menu'           => false,
            'show_reset_all'          => false,
            'show_save_button'        => false,
            'show_reset_section'      => false,
            'show_footer'             => false,
            'show_all_options'        => false,
            'framework_title'         => esc_html__('Greet Help', 'greet-bubble'),
            'admin_bar_menu_priority' => 5,
            'footer_text'             => esc_html__('Thank you for using our product', 'greet-bubble'),
            'theme'                   => 'light',
            'nav'                     => 'inline',
            'framework_class'         => 'greet-bubble-setting-admin greet-bubble-help-page',
            'class'                   => 'greet-bubble-preloader',
        ));

        //
        // Field: advance
        //
        GREET_BUBBLE::createSection($prefix, array(
            'title'       => esc_html__('HELP', 'greet-bubble'),
            'icon'        => 'icofont-life-buoy',

            'fields'      => array(
                array(
                    'id'   => 'ta_help',
                    'type' => 'ta_help',
                ),
            )
        ));
    }
}
