Craft Activity (2.x)

VizyBlockConfig extends DefaultHandler
in package

Tags
since
2.4.0

Table of Contents

EVENT_REGISTER_TARGETS  = 'register-targets'
$data  : mixed
$fancyValue  : mixed
$value  : mixed
$_dirty  : array<string|int, mixed>
getDbValue()  : array<string|int, mixed>
getDirty()  : array<string|int, mixed>
getTargets()  : array<string|int, mixed>
Get the targets this field handler applies to, can be modified through an event
getTemplate()  : string|null
hasFancyValue()  : bool
Does this handler defines a fancy value
init()  : void
isDirty()  : bool
_getTargets()  : array<string|int, mixed>
buildDirty()  : array<string|int, mixed>
Build dirty values
buildDirtyGroup()  : array<string|int, mixed>
Build dirty group values
buildDirtyType()  : array<string|int, mixed>
Build dirty block type values
buildValues()  : array<string|int, mixed>
Build values

Constants

EVENT_REGISTER_TARGETS

public mixed EVENT_REGISTER_TARGETS = 'register-targets'

Properties

Methods

getDbValue()

public getDbValue(string $valueKey) : array<string|int, mixed>
Parameters
$valueKey : string
Tags
inheritDoc
Return values
array<string|int, mixed>

getTargets()

Get the targets this field handler applies to, can be modified through an event

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

getTemplate()

public static getTemplate() : string|null
Tags
inheritDoc
Return values
string|null

hasFancyValue()

Does this handler defines a fancy value

public hasFancyValue() : bool
Return values
bool

_getTargets()

protected static _getTargets() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

buildDirty()

Build dirty values

protected buildDirty(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>

buildDirtyGroup()

Build dirty group values

protected buildDirtyGroup(array<string|int, mixed> $newGroup, array<string|int, mixed> $oldGroup) : array<string|int, mixed>
Parameters
$newGroup : array<string|int, mixed>
$oldGroup : array<string|int, mixed>
Return values
array<string|int, mixed>

buildDirtyType()

Build dirty block type values

protected buildDirtyType(array<string|int, mixed> $newType, array<string|int, mixed> $oldType) : array<string|int, mixed>
Parameters
$newType : array<string|int, mixed>
$oldType : array<string|int, mixed>
Return values
array<string|int, mixed>

buildValues()

Build values

protected buildValues(array<string|int, mixed> $config) : array<string|int, mixed>
Parameters
$config : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results