CoolCMS API

FeedEditFactory extends BaseComponentFactory
in package

FinalYes

Factory for {@see FeedEdit}; `AppContext` is injected by a decorator (`setupAppContext()`).

Table of Contents

Properties

$appContext  : AppContext
$control  : BaseComponent|null
$adminLanguageManager  : LanguageManager
$cronLockManager  : CronLockManager
$currencyManager  : CurrencyManager
$feedManager  : FeedManager
$feedParameterActionManager  : FeedParameterActionManager
$formActionsFactory  : FormActionsFactory

Methods

__construct()  : mixed
create()  : FeedEdit
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(FeedManager $feedManager, FeedParameterActionManager $feedParameterActionManager, LanguageManager $adminLanguageManager, CurrencyManager $currencyManager, FormActionsFactory $formActionsFactory, CronLockManager $cronLockManager) : mixed
Parameters
$feedManager : FeedManager
$feedParameterActionManager : FeedParameterActionManager
$adminLanguageManager : LanguageManager
$currencyManager : CurrencyManager
$formActionsFactory : FormActionsFactory
$cronLockManager : CronLockManager

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