CoolCMS API

DashboardAttentionFactory extends BaseComponentFactory
in package

Factory for {@see DashboardAttention}.

Takes many managers because the band reaches across modules.

Table of Contents

Properties

$apiClientManager  : ApiClientManager
$appContext  : AppContext
$bazaarAdvertManager  : AdvertManager
$bazaarResponseManager  : ResponseManager
$comcatAdvertManager  : AdvertManager
$comcatResponseManager  : ResponseManager
$commentManager  : CommentManager
$complaintManager  : ComplaintManager
$control  : BaseComponent|null
$emailQueueManager  : EmailQueueManager
$invoiceManager  : InvoiceManager
$orderManager  : OrderManager
$paymentManager  : PaymentManager
$ratingManager  : RatingManager

Methods

__construct()  : mixed
create()  : DashboardAttention
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(OrderManager $orderManager, ComplaintManager $complaintManager, InvoiceManager $invoiceManager, PaymentManager $paymentManager, AdvertManager $bazaarAdvertManager, ResponseManager $bazaarResponseManager, AdvertManager $comcatAdvertManager, ResponseManager $comcatResponseManager, CommentManager $commentManager, RatingManager $ratingManager, EmailQueueManager $emailQueueManager, ApiClientManager $apiClientManager) : mixed
Parameters
$orderManager : OrderManager
$complaintManager : ComplaintManager
$invoiceManager : InvoiceManager
$paymentManager : PaymentManager
$bazaarAdvertManager : AdvertManager
$bazaarResponseManager : ResponseManager
$comcatAdvertManager : AdvertManager
$comcatResponseManager : ResponseManager
$commentManager : CommentManager
$ratingManager : RatingManager
$emailQueueManager : EmailQueueManager
$apiClientManager : ApiClientManager

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