Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions
UserConfigurationFormAdapter Class Reference

Static Public Member Functions

static makeFormFromUserConfigurationByUser (User $user)
 
static setConfigurationFromForm (UserConfigurationForm $form, User $user)
 
static setConfigurationFromFormForCurrentUser (UserConfigurationForm $form)
 
static resolveAndGetValue (User $user, $key, $returnBoolean=true)
 
static setValue (User $user, $value, $key, $saveBoolean=true)
 
static resolveAndGetDefaultPermissionSetting (User $user)
 
static setDefaultPermissionGroupSetting (User $user, $value, $defaultPermissionSetting)
 
static getVisibleAndOrderedTabMenuItemsByUser ($user, $selected=false)
 

Detailed Description

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

Definition at line 41 of file UserConfigurationFormAdapter.php.

Member Function Documentation

static makeFormFromUserConfigurationByUser ( User  $user)
static
Returns
UserConfigurationForm

Definition at line 46 of file UserConfigurationFormAdapter.php.

static setConfigurationFromForm ( UserConfigurationForm  $form,
User  $user 
)
static

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

Definition at line 69 of file UserConfigurationFormAdapter.php.

static setConfigurationFromFormForCurrentUser ( UserConfigurationForm  $form)
static

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

Definition at line 99 of file UserConfigurationFormAdapter.php.

static resolveAndGetValue ( User  $user,
  $key,
  $returnBoolean = true 
)
static
Parameters
User$user
string$key
bool$returnBoolean
Returns
bool|configuration

Definition at line 114 of file UserConfigurationFormAdapter.php.

static resolveAndGetDefaultPermissionSetting ( User  $user)
static
Parameters
User$user
Returns
configuration

Definition at line 135 of file UserConfigurationFormAdapter.php.

static setDefaultPermissionGroupSetting ( User  $user,
  $value,
  $defaultPermissionSetting 
)
static
Parameters
User$user
int$value
int$defaultPermissionSetting

Definition at line 154 of file UserConfigurationFormAdapter.php.

static getVisibleAndOrderedTabMenuItemsByUser (   $user,
  $selected = false 
)
static
Parameters
$user
bool$selected
Returns
array

Definition at line 175 of file UserConfigurationFormAdapter.php.


The documentation for this class was generated from the following file:
Generated on Tue Jul 14 2020 07:11:08
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.