CoolCMS API

Modals

Table of Contents

Interfaces

ModalHost
Presenter that hosts the shared admin {@see ModalWindow} (mounted in `@layout.latte`).

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}).
ModalHostTrait
Host trait of the shared admin {@see ModalWindow}. {@see \App\Core\Base\Admin\BasePresenter} uses it, so the modal is available in every admin presenter and its components without per-presenter wiring.
On this page

Search results