ModelAttributeToWorkflowOperatorTypeUtil Class Reference

Inheritance diagram for ModelAttributeToWorkflowOperatorTypeUtil:
ModelAttributeToOperatorTypeUtil

Static Public Member Functions

static resolveOperatorsToIncludeByType (&$data, $type)
static getAvailableOperatorsType ($model, $attributeName)

Data Fields

const AVAILABLE_OPERATORS_TYPE_CURRENCY_VALUE = 'CurrencyValue'

Static Protected Member Functions

static resolveIsNullAndIsNotNullOperatorsToInclude (&$data, $type)
static getAvailableOperatorsTypeForBoolean ()

Detailed Description

Given a model and its attribute, find the appropriate operator type. Override to handle boolean which has an operator for workflow but does not for reporting for example.

Definition at line 41 of file ModelAttributeToWorkflowOperatorTypeUtil.php.


Member Function Documentation

static resolveOperatorsToIncludeByType ( &$  data,
type 
) [static]
Parameters:
array $data
string $type

Reimplemented from ModelAttributeToOperatorTypeUtil.

Definition at line 49 of file ModelAttributeToWorkflowOperatorTypeUtil.php.

static resolveIsNullAndIsNotNullOperatorsToInclude ( &$  data,
type 
) [static, protected]
Parameters:
array $data
string $type

Reimplemented from ModelAttributeToOperatorTypeUtil.

Definition at line 84 of file ModelAttributeToWorkflowOperatorTypeUtil.php.

static getAvailableOperatorsType ( model,
attributeName 
) [static]
Parameters:
$model 
string $attributeName
Returns:
string

Reimplemented from ModelAttributeToOperatorTypeUtil.

Definition at line 102 of file ModelAttributeToWorkflowOperatorTypeUtil.php.

static getAvailableOperatorsTypeForBoolean (  )  [static, protected]
Returns:
string

Reimplemented from ModelAttributeToOperatorTypeUtil.

Definition at line 115 of file ModelAttributeToWorkflowOperatorTypeUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Sep 23 07:10:26 2017