HideOlderCompletedItemsSearchFormAttributeMappingRules Class Reference

Inheritance diagram for HideOlderCompletedItemsSearchFormAttributeMappingRules:
SearchFormAttributeMappingRules

Static Public Member Functions

static resolveValueDataIntoUsableValue ($value)
static resolveAttributesAndRelations ($attributeName, &$attributeAndRelations, $value)
static calculateNewDateByDaysFromNow ($daysFromNow)
static getIgnoredSavableMetadataRules ()

Detailed Description

Rule used in search form to hide old completed tasks.

Definition at line 40 of file HideOlderCompletedItemsSearchFormAttributeMappingRules.php.


Member Function Documentation

static resolveValueDataIntoUsableValue ( value  )  [static]

Override if any massaging is needed on the value.

Parameters:
mixed $value

Reimplemented from SearchFormAttributeMappingRules.

Definition at line 42 of file HideOlderCompletedItemsSearchFormAttributeMappingRules.php.

static resolveAttributesAndRelations ( attributeName,
&$  attributeAndRelations,
value 
) [static]
Parameters:
string $attributeName
array $attributeAndRelations
mixed $value

Reimplemented from SearchFormAttributeMappingRules.

Definition at line 57 of file HideOlderCompletedItemsSearchFormAttributeMappingRules.php.

static calculateNewDateByDaysFromNow ( daysFromNow  )  [static]

Given an integer representing a count of days from the present day, returns a DB formatted date stamp based on that calculation. This is a wrapper method for

See also:
DateTimeCalculatorUtil::calculateNewByDaysFromNow
Parameters:
integer $daysFromNow

Definition at line 82 of file HideOlderCompletedItemsSearchFormAttributeMappingRules.php.

static getIgnoredSavableMetadataRules (  )  [static]

Override so that it shows up as a checkbox and not a dropdown since normally checkboxes are converted to dropdowns in search views.

Reimplemented from SearchFormAttributeMappingRules.

Definition at line 93 of file HideOlderCompletedItemsSearchFormAttributeMappingRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Sep 15 07:11:05 2019