<?php
/**
 * Class ChangeStatusButton
 * User: ThurData
 * Date: 2019-10-11
 * Time: 11:29
 * @package ThurData\Servers\KerioEmail\App\UI\Client\Setting\Buttons
 */

namespace ThurData\Servers\KerioEmail\App\UI\Client\Setting\Buttons;


use ThurData\Servers\KerioEmail\App\UI\Client\Setting\Modals\AddSettingModal;
use ThurData\Servers\KerioEmail\App\UI\Client\Setting\Modals\ChangeStatusModal;
use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonCreate;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;
use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\DropdawnButtonWrappers\ButtonDropdownItem;

class ChangeStatusButton extends ButtonDropdownItem implements ClientArea
{
    protected $id    = 'changeStatusButton';
    protected $title = 'changeStatusButton';
    protected $icon  = 'lu-dropdown__link-icon lu-btn__icon lu-zmdi lu-zmdi-refresh-sync';

    public function initContent()
    {
        $this->initLoadModalAction(new ChangeStatusModal());
    }

}