Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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:
 All Data Structures Functions Variables
Generated on Thu Jun 20 07:11:13 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8