DataProvider implements DataProviderInterface
Table of Contents
Interfaces
Constants
- MODULE_ID = 'crm'
Methods
- getBaseCurrencyId() : string|null
- getDealFromExternalDataCollection() : Deal|null
- getMoneyStatistics() : array<string|int, mixed>
- loadDataForCollection() : void
- setClientsData() : void
- updateBindings() : void
Constants
MODULE_ID
public
mixed
MODULE_ID
= 'crm'
Methods
getBaseCurrencyId()
public
getBaseCurrencyId() : string|null
Return values
string|nullgetDealFromExternalDataCollection()
public
static getDealFromExternalDataCollection(ExternalDataCollection $externalDataCollection) : Deal|null
Parameters
- $externalDataCollection : ExternalDataCollection
Return values
Deal|nullgetMoneyStatistics()
public
getMoneyStatistics(mixed ...$externalDataCollections) : array<string|int, mixed>
Parameters
- $externalDataCollections : mixed
Return values
array<string|int, mixed>loadDataForCollection()
public
loadDataForCollection(mixed ...$externalDataCollections) : void
Parameters
- $externalDataCollections : mixed
setClientsData()
public
setClientsData(ClientCollection $clientCollection, mixed ...$externalDataCollections) : void
Parameters
- $clientCollection : ClientCollection
- $externalDataCollections : mixed
updateBindings()
public
updateBindings(Booking $updatedBooking, Booking|null $prevBooking) : void