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

MassDeleteInsufficientPermissionSkipSavingUtil Class Reference

Static Public Member Functions

static clear ($modelClassName)
static getAll ($modelClassName)
static getCount ($modelClassName)
static setByModelIdAndName ($modelClassName, $modelId, $modelName)
static getSkipCountMessageContentByModelClassName ($skipCount, $modelClassName)
static resolveSuccessfulCountAgainstSkipCount ($totalCount, $skipCount)

Data Fields

const STORAGE_ID = 'MassDeleteSkipInformation'

Static Protected Member Functions

static getCacheId ($modelClassName)

Detailed Description

Helper class for mass edit. Allows temporary storage of skipped record information during a mass edit action that failed because the current user does not have permission::DELETE on the model.

Definition at line 43 of file MassDeleteInsufficientPermissionSkipSavingUtil.php.


Member Function Documentation

static clear ( modelClassName  )  [static]

Resets storage cache.

Definition at line 50 of file MassDeleteInsufficientPermissionSkipSavingUtil.php.

static getAll ( modelClassName  )  [static]

Gets all storage cache data.

Returns:
array of model id/name pairings.

Definition at line 59 of file MassDeleteInsufficientPermissionSkipSavingUtil.php.

static getCount ( modelClassName  )  [static]

Gets count of storage data model id/name pairings

Definition at line 67 of file MassDeleteInsufficientPermissionSkipSavingUtil.php.

static setByModelIdAndName ( modelClassName,
modelId,
modelName 
) [static]

Set skip data by model id and name.

Definition at line 75 of file MassDeleteInsufficientPermissionSkipSavingUtil.php.

static getSkipCountMessageContentByModelClassName ( skipCount,
modelClassName 
) [static]
Parameters:
int $skipCount
string $modelClassName
Returns:
string
Exceptions:
NotSupportedException 

Definition at line 92 of file MassDeleteInsufficientPermissionSkipSavingUtil.php.

static resolveSuccessfulCountAgainstSkipCount ( totalCount,
skipCount 
) [static]

Resolve the successful count by taking the skip count into consideration. If the total count was 10, but 6 were skipped, then the successful count returned is 4.

Returns:
integer - successful count.

Definition at line 108 of file MassDeleteInsufficientPermissionSkipSavingUtil.php.


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