<?php

namespace ModulesGarden\HostingQuotaNotifications\App\UI\TicketTemplates\Forms\EditSubPages;

use \ModulesGarden\HostingQuotaNotifications\Core\UI\Interfaces\AdminArea;
use \ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Forms\FormConstants;
use \ModulesGarden\HostingQuotaNotifications\App\UI\TicketTemplates\Providers\TicketTemplatesLangsProvider;
use \ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Forms\Fields\Hidden;
use \ModulesGarden\HostingQuotaNotifications\Core\Helper;
use ModulesGarden\HostingQuotaNotifications\Core\UI\Widget\Forms\Fields\Select;
use ModulesGarden\HostingQuotaNotifications\App\Helper\TemplatesHelper;
use ModulesGarden\HostingQuotaNotifications\App\UI\TicketTemplates\Fields\TextArea;
use \ModulesGarden\HostingQuotaNotifications\App\UI\TicketTemplates\Forms\EditSubPages\AddLangForm;

/**
 * Description of EditLangForm
 *
 * @author Artur Pilch <artur.pi@modulesgarden.com>
 */
class EditLangForm extends AddLangForm implements AdminArea
{
    protected $id    = 'editLangForm';
    protected $name  = 'editLangForm';
    protected $title = 'editLangForm';

    public function initContent()
    {
        
        $this->setFormType(FormConstants::UPDATE);

        $this->dataProvider = new TicketTemplatesLangsProvider();

        $this->initFields();
        $this->loadDataToForm();
    }
}
