DatabaseRowDateTimeFields implements FormDataProviderInterface

Migrate date and datetime db field values to timestamp

Table of Contents

Interfaces

FormDataProviderInterface
Interface must be implemented by form data provider classes.

Methods

addData()  : array<string|int, mixed>
Migrate native type=datetime dbType=datetime|date|time field values to ISO8601 dates

Methods

addData()

Migrate native type=datetime dbType=datetime|date|time field values to ISO8601 dates

public addData(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>

Initialized result array

Return values
array<string|int, mixed>

        
On this page

Search results