Contao Utils Bundle

AliasDcaFieldListener extends AbstractDcaFieldListener
in package

Table of Contents

Properties

$container  : ContainerInterface

Methods

__construct()  : mixed
getSubscribedServices()  : array<string|int, mixed>
onFieldsAliasSaveCallback()  : mixed
onLoadDataContainer()  : void
applyDefaultFieldAdjustments()  : void
getModelInstance()  : Model|null

Properties

Methods

__construct()

public __construct(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface

getSubscribedServices()

public static getSubscribedServices() : array<string|int, mixed>
Return values
array<string|int, mixed>

onFieldsAliasSaveCallback()

public onFieldsAliasSaveCallback(mixed $value, DataContainer $dc) : mixed
Parameters
$value : mixed
$dc : DataContainer

onLoadDataContainer()

public onLoadDataContainer(string $table) : void
Parameters
$table : string
Attributes
#[AsHook]
'loadDataContainer'

getModelInstance()

protected getModelInstance(string $table, int $id) : Model|null
Parameters
$table : string
$id : int
Return values
Model|null

        
On this page

Search results