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

DropDownDefaultValueOrderUtil Class Reference

Static Public Member Functions

static getDefaultValueOrderFromDefaultValue ($defaultValue, $customFieldDataData)
static getDefaultValueFromDefaultValueOrder ($defaultValueOrder, $customFieldDataData)

Detailed Description

This class exists to support the adaption between the drop down defaultValue and the user interface for administering the defaultValue. The user interface must rely on the ordering of the pick list items in the array by their key. This is in order to support adding pick list items in the user interface on the fly and then making one of those new pick list items the default value before posting any information to be processed. This class has utilities to switch between the defaultValue which is the pick list item 'name' to/from the defaultValueOrder which is the 'order' or 'key' of the array that has the items.

Definition at line 46 of file DropDownDefaultValueOrderUtil.php.


Member Function Documentation

static getDefaultValueOrderFromDefaultValue ( defaultValue,
customFieldDataData 
) [static]
Parameters:
$defaultValue 
$customFieldDataData 
Returns:
array mixed|null

Definition at line 53 of file DropDownDefaultValueOrderUtil.php.

static getDefaultValueFromDefaultValueOrder ( defaultValueOrder,
customFieldDataData 
) [static]
Parameters:
$defaultValueOrder 
$customFieldDataData 
Returns:
null

Definition at line 69 of file DropDownDefaultValueOrderUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 23 07:10:24 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