CoolCMS API

ModalWindowsFactory extends BaseComponentFactory
in package

Table of Contents

Properties

$appContext  : AppContext
$control  : BaseComponent|null
$debugMode  : bool
$eventDispatcher  : EventDispatcher
$modalRegistry  : ModalRegistry
$modalWindowFactory  : ModalWindowFactory

Methods

__construct()  : mixed
create()  : ModalWindows
getAppContext()  : AppContext
getControl()  : BaseComponent
initControl()  : void
initializeAllContexts()  : void
setAppContext()  : $this
setDebugMode()  : void
initialized()  : T
Stores the component as `$control`, initializes it and returns it with its concrete type (so `create(): Cart` does not return the generic `?BaseComponent` property).

Properties

Methods

setDebugMode()

public setDebugMode(bool $debugMode) : void
Parameters
$debugMode : bool

initialized()

Stores the component as `$control`, initializes it and returns it with its concrete type (so `create(): Cart` does not return the generic `?BaseComponent` property).

protected initialized(T $control) : T
Parameters
$control : T
Tags
template
Return values
T
On this page

Search results