Table of Contents
Properties
-
$container
: ContainerInterface
Methods
-
__construct()
: mixed
-
getSubscribedServices()
: array<string|int, mixed>
-
onCopyCallback()
: void
-
onLoadCallback()
: void
-
onLoadDataContainer()
: void
-
applyDefaultFieldAdjustments()
: mixed
-
getModelInstance()
: Model|null
$container
protected
ContainerInterface
$container
__construct()
public
__construct(ContainerInterface $container) : mixed
Parameters
-
$container
: ContainerInterface
-
getSubscribedServices()
public
static getSubscribedServices() : array<string|int, mixed>
Return values
array<string|int, mixed>
onCopyCallback()
public
onCopyCallback(int $insertId, DataContainer $dc) : void
Parameters
-
$insertId
: int
-
-
$dc
: DataContainer
-
onLoadCallback()
public
onLoadCallback([DataContainer $dc = null ]) : void
Parameters
-
$dc
: DataContainer
= null
-
onLoadDataContainer()
public
onLoadDataContainer(string $table) : void
Parameters
-
$table
: string
-
-
Hook
-
applyDefaultFieldAdjustments()
protected
applyDefaultFieldAdjustments(array<string|int, mixed> &$field, DcaFieldConfiguration $configuration) : mixed
Parameters
-
$field
: array<string|int, mixed>
-
-
$configuration
: DcaFieldConfiguration
-
getModelInstance()
protected
getModelInstance(string $table, int $id) : Model|null
Parameters
-
$table
: string
-
-
$id
: int
-