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

PostUtil Class Reference

Inheritance diagram for PostUtil:
DataUtil HtmlPostUtil

Static Public Member Functions

static getData ()
static sanitizePostForSavingMassEdit ($postVariableName)
static sanitizePostForMassDelete ($postVariableName)
static sanitizePostByDesignerTypeForSavingModel ($model, $postData)
static sanitizePostDataToJustHavingElementForSavingModel ($sanitizedPostData, $elementName)
static removeElementFromPostDataForSavingModel ($sanitizedPostData, $elementName)

Static Protected Member Functions

static sanitizePostForMassAction ($postVariableName, $massActionName)

Detailed Description

Helper class for handling POST arrays.

Definition at line 41 of file PostUtil.php.


Member Function Documentation

static sanitizePostByDesignerTypeForSavingModel ( model,
postData 
) [static]

Sanitizes post data for date and date time attributes by converting them to the proper format and timezone for saving.

Returns:
- array sanitized post data

Definition at line 94 of file PostUtil.php.

static sanitizePostDataToJustHavingElementForSavingModel ( sanitizedPostData,
elementName 
) [static]

Given an array of data, filter out all elements but the specified element and return array. If the specified element does not exist, then return null.

Parameters:
array $sanitizedPostData
string $elementName

Definition at line 106 of file PostUtil.php.

static removeElementFromPostDataForSavingModel ( sanitizedPostData,
elementName 
) [static]

Given an array of data, filter out the specified element from the data if it exists.

Parameters:
array $sanitizedPostData
string $elementName

Definition at line 116 of file PostUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:10:59 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