CoolCMS API

WatchdogFormFactory extends BaseComponentFactory
in package

Table of Contents

Properties

$appContext  : AppContext
$control  : BaseComponent|null
$categoryManager  : CategoryManager
$categorySuggestFactory  : CategorySuggestFactory
$eventDispatcher  : EventDispatcher
$languageManager  : LanguageManager
$modalRegistry  : ModalRegistry
$parameterManager  : ParameterManager
$regionManager  : RegionManager
$regionSuggestFactory  : RegionSuggestFactory
$watchdogManager  : WatchdogManager

Methods

__construct()  : mixed
create()  : WatchdogForm
getAppContext()  : AppContext
getControl()  : BaseComponent
initControl()  : void
initializeAllContexts()  : void
setAppContext()  : $this
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

__construct()

public __construct(WatchdogManager $watchdogManager, CategoryManager $categoryManager, RegionManager $regionManager, LanguageManager $languageManager, ParameterManager $parameterManager, ModalRegistry $modalRegistry, EventDispatcher $eventDispatcher, RegionSuggestFactory $regionSuggestFactory, CategorySuggestFactory $categorySuggestFactory) : mixed
Parameters
$watchdogManager : WatchdogManager
$categoryManager : CategoryManager
$regionManager : RegionManager
$languageManager : LanguageManager
$parameterManager : ParameterManager
$modalRegistry : ModalRegistry
$eventDispatcher : EventDispatcher
$regionSuggestFactory : RegionSuggestFactory
$categorySuggestFactory : CategorySuggestFactory

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