CoolCMS API

AdvertFormFactory extends BaseComponentFactory
in package

Table of Contents

Properties

$appContext  : AppContext
$control  : BaseComponent|null
$advertManager  : AdvertManager
$blacklistedWordManager  : BlacklistedWordManager
$categoryParameterRelManager  : CategoryParameterRelManager
$currencyManager  : CurrencyManager
$parameterGroupManager  : ParameterGroupManager
$parameterManager  : ParameterManager
$regionManager  : RegionManager
$regionSuggestFactory  : RegionSuggestFactory
$uploaderDropzoneFactory  : UploaderDropzoneFactory
$userManager  : UserManager

Methods

__construct()  : mixed
create()  : AdvertForm
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(AppContext $appContext, AdvertManager $advertManager, ParameterManager $parameterManager, ParameterGroupManager $parameterGroupManager, CurrencyManager $currencyManager, RegionManager $regionManager, UploaderDropzoneFactory $uploaderDropzoneFactory, UserManager $userManager, CategoryParameterRelManager $categoryParameterRelManager, BlacklistedWordManager $blacklistedWordManager, RegionSuggestFactory $regionSuggestFactory) : mixed
Parameters
$appContext : AppContext
$advertManager : AdvertManager
$parameterManager : ParameterManager
$parameterGroupManager : ParameterGroupManager
$currencyManager : CurrencyManager
$regionManager : RegionManager
$uploaderDropzoneFactory : UploaderDropzoneFactory
$userManager : UserManager
$categoryParameterRelManager : CategoryParameterRelManager
$blacklistedWordManager : BlacklistedWordManager
$regionSuggestFactory : RegionSuggestFactory

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