GetUtil Class Reference

Inheritance diagram for GetUtil:
DataUtil

Static Public Member Functions

static getData ()
static resetGetPageVariableToNull ($pageVariableName)
static resolveSelectedIdsFromGet ()
static resolveSelectAllFromGet ()
static sanitizePostByDesignerTypeForSavingModel ($model, $postData)
static resolveModalTransferInformationParamFromRequest ($param, $defaultValue=null)
static resolveParamFromRequest ($param, $defaultValue=null)

Detailed Description

Helper class for handling GET arrays.

Definition at line 41 of file GetUtil.php.


Member Function Documentation

static resetGetPageVariableToNull ( pageVariableName  )  [static]

Resets page to 1 for a grid view.

Parameters:
$pageVariableName - typically the model class name.

Definition at line 57 of file GetUtil.php.

static resolveSelectedIdsFromGet (  )  [static]

Resolve selectedIds value based on $_GET['selectedIds'].

Definition at line 65 of file GetUtil.php.

static resolveSelectAllFromGet (  )  [static]

Resolve selectAll value based on $_GET['selectAll'].

Definition at line 80 of file GetUtil.php.

static sanitizePostByDesignerTypeForSavingModel ( model,
postData 
) [static]

Sanitizes get data for date and date time attributes by converting them to the proper format and timezone for saving. Wrapper for the method with the logic in PostUtil which completes this task.

Returns:
- array sanitized get data

Definition at line 98 of file GetUtil.php.

static resolveModalTransferInformationParamFromRequest ( param,
defaultValue = null 
) [static]

Resolve param from get request for modalTransferInformation

Parameters:
string $param
bool $defaultValue
Returns:
string|bool

Definition at line 109 of file GetUtil.php.

static resolveParamFromRequest ( param,
defaultValue = null 
) [static]

Resolve param from get request

Parameters:
string $param
bool $defaultValue
Returns:
string|bool

Definition at line 124 of file GetUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Mar 26 07:10:25 2017