Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions | Data Fields | Static Protected Member Functions
ModelAttributeToWorkflowOperatorTypeUtil Class Reference
Inheritance diagram for ModelAttributeToWorkflowOperatorTypeUtil:
ModelAttributeToOperatorTypeUtil

Static Public Member Functions

static resolveOperatorsToIncludeByType (&$data, $type)
 
static getAvailableOperatorsType ($model, $attributeName)
 
- Static Public Member Functions inherited from ModelAttributeToOperatorTypeUtil
static resolveOperatorsToIncludeByType (&$data, $type)
 
static getOperatorType ($model, $attributeName)
 
static getAvailableOperatorsType ($model, $attributeName)
 

Data Fields

const AVAILABLE_OPERATORS_TYPE_CURRENCY_VALUE = 'CurrencyValue'
 
- Data Fields inherited from ModelAttributeToOperatorTypeUtil
const AVAILABLE_OPERATORS_TYPE_BOOLEAN = 'Boolean'
 
const AVAILABLE_OPERATORS_TYPE_STRING = 'String'
 
const AVAILABLE_OPERATORS_TYPE_NUMBER = 'Number'
 
const AVAILABLE_OPERATORS_TYPE_DROPDOWN = 'DropDown'
 
const AVAILABLE_OPERATORS_TYPE_HAS_ONE = 'HasOne'
 

Static Protected Member Functions

static resolveIsNullAndIsNotNullOperatorsToInclude (&$data, $type)
 
static getAvailableOperatorsTypeForBoolean ()
 
- Static Protected Member Functions inherited from ModelAttributeToOperatorTypeUtil
static resolveIsNullAndIsNotNullOperatorsToInclude (&$data, $type)
 
static getOperatorTypeFromModelMetadataElement ($element)
 
static getAvailableOperatorsTypeFromModelMetadataElement ($element)
 
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

Definition at line 49 of file ModelAttributeToWorkflowOperatorTypeUtil.php.

static resolveIsNullAndIsNotNullOperatorsToInclude ( $data,
  $type 
)
staticprotected
Parameters
array$data
string$type

Definition at line 84 of file ModelAttributeToWorkflowOperatorTypeUtil.php.

static getAvailableOperatorsType (   $model,
  $attributeName 
)
static
Parameters
$model
string$attributeName
Returns
string

Definition at line 102 of file ModelAttributeToWorkflowOperatorTypeUtil.php.

static getAvailableOperatorsTypeForBoolean ( )
staticprotected
Returns
string

Definition at line 115 of file ModelAttributeToWorkflowOperatorTypeUtil.php.


The documentation for this class was generated from the following file:
Generated on Fri Jul 10 2020 07:10:54
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.