CoolCMS API

ModalAwareTrait.php

Table of Contents

Traits

ModalAwareTrait
For admin components ({@see \App\Core\Base\BaseComponent}) that fill the shared {@see ModalWindow} from the layout. Gives a clean `$this->getModalWindow()` call instead of `$this->getPresenter()->getModalWindow()` and checks that the host really provides a modal ({@see ModalHost}).
On this page

Search results