MetaFox

AccountNotificationSettingForm extends AbstractForm
in package

Class AccountNotificationSettingForm.

Tags
driverType

form

driverName

user.update.notification

SuppressWarnings

(PHPMD.CouplingBetweenObjects)

SuppressWarnings

(PHPMD.ExcessiveMethodLength)

Table of Contents

Constants

MODULE_KEY  = 'module_id'
VAR_NAME_KEY  = 'var_name'

Properties

$resource  : User

Methods

boot()  : void
initialize()  : void
prepare()  : void
buildModuleField()  : void
buildNotificationSection()  : void
buildNotificationSections()  : void
buildNotificationSwitchField()  : void
buildVarNameField()  : void
getDefaultNotificationValue()  : array<string|int, mixed>
getDefaultNotificationValueByChannel()  : array<string|int, mixed>
getFieldNameNotification()  : string
getNotificationChannel()  : array<string|int, mixed>
getValueNotification()  : void

Constants

Properties

Methods

buildModuleField()

private buildModuleField(Section $basic, array<string|int, mixed> $setting) : void
Parameters
$basic : Section
$setting : array<string|int, mixed>

buildNotificationSwitchField()

private buildNotificationSwitchField(Section $basic, array<string|int, mixed> $settings) : void
Parameters
$basic : Section
$settings : array<string|int, mixed>

buildVarNameField()

private buildVarNameField(Section $basic, array<string|int, mixed> $setting) : void
Parameters
$basic : Section
$setting : array<string|int, mixed>

getDefaultNotificationValue()

private getDefaultNotificationValue() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDefaultNotificationValueByChannel()

private getDefaultNotificationValueByChannel(string $channel) : array<string|int, mixed>
Parameters
$channel : string
Return values
array<string|int, mixed>

getFieldNameNotification()

private getFieldNameNotification(array<string|int, mixed> $setting, string $keyName[, string $name = null ]) : string
Parameters
$setting : array<string|int, mixed>
$keyName : string
$name : string = null
Return values
string

getValueNotification()

private getValueNotification(array<string|int, mixed> $params, array<string|int, mixed> &$values, string $key) : void
Parameters
$params : array<string|int, mixed>
$values : array<string|int, mixed>
$key : string

        
On this page

Search results