<?php

namespace ThurData\Servers\KerioEmail\App\UI\Admin\LoggerManager\Buttons;

use \ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonModal;
use \ThurData\Servers\KerioEmail\App\UI\Admin\LoggerManager\Modals\DeleteAllLoggersModal;
use \ThurData\Servers\KerioEmail\Core\UI\Interfaces\AdminArea;

/**
 * Description of AssignTldButton
 *
 * @autor ThurData <info@thurdata.ch>
 */
class DeleteAllLoggersButton extends ButtonModal implements AdminArea
{
    protected $id    = 'deleteAllLoggersButton';
    protected $name  = 'deleteAllLoggersButton';
    protected $title = 'deleteAllLoggersButton';

    protected $class = ['lu-btn lu-btn--danger'];
    protected $icon = 'lu-btn__icon lu-zmdi lu-zmdi-delete';
    
    public function initContent()
    {
        $this->initLoadModalAction(new DeleteAllLoggersModal());
    }
}
