Craft Activity (1.x)

ElementFields

Table of Contents

getCustomFieldValues()  : array<string|int, mixed>
Get an element custom field values, returns an array of field handlers
getDirtyFields()  : array<string|int, mixed>
Calculate dirty fields, input are two arrays of field handlers

Methods

getCustomFieldValues()

Get an element custom field values, returns an array of field handlers

protected getCustomFieldValues(Element $element) : array<string|int, mixed>
Parameters
$element : Element
Return values
array<string|int, mixed>

getDirtyFields()

Calculate dirty fields, input are two arrays of field handlers

protected getDirtyFields(array<string|int, mixed> $newFields, array<string|int, mixed> $oldFields) : array<string|int, mixed>
Parameters
$newFields : array<string|int, mixed>
$oldFields : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results