<?php

namespace ThurData\Servers\KerioEmail\Core\UI\Widget\Modals;

use \ThurData\Servers\KerioEmail\Core\UI\Builder\BaseContainer;

/**
 * BaseModal controller
 *
 * @autor ThurData <info@thurdata.ch>
 */
class BaseModal extends BaseContainer
{

    use \ThurData\Servers\KerioEmail\Core\UI\Traits\Forms;
    use \ThurData\Servers\KerioEmail\Core\UI\Traits\Modal;
    use \ThurData\Servers\KerioEmail\Core\UI\Traits\ModalActionButtons;

    protected $id    = 'baseModal';
    protected $name  = 'baseModal';
    protected $title = 'baseModal';

    public function runInitContentProcess()
    {
        if ($this->getRequestValue('ajax', false) == 1)
        {
            parent::runInitContentProcess();
        }
    }
}
