UserNotificationConfigurationFormAdapter Class Reference

Static Public Member Functions

static makeFormFromUserConfigurationByUser (User $user)
static setConfigurationFromForm (UserNotificationConfigurationForm $form, User $user)
static setConfigurationFromFormForCurrentUser (UserNotificationConfigurationForm $form)

Detailed Description

Class to adapt a user's configuration values into a configuration form. Saves global values from a notification configuration form.

Definition at line 41 of file UserNotificationConfigurationFormAdapter.php.

Member Function Documentation

static makeFormFromUserConfigurationByUser ( User user  )  [static]
static setConfigurationFromForm ( UserNotificationConfigurationForm form,
User user 
) [static]

Given a UserConfigurationForm and user, save the configuration values for the specified user.

Definition at line 65 of file UserNotificationConfigurationFormAdapter.php.

static setConfigurationFromFormForCurrentUser ( UserNotificationConfigurationForm form  )  [static]

Given a UserConfigurationForm save the configuration values for the current user and load values as active.

Definition at line 84 of file UserNotificationConfigurationFormAdapter.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Nov 16 07:11:09 2019