Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes
FilterForReportFormToDataProviderMetadataAdapter Class Reference

Public Member Functions

 __construct (FilterForReportForm $filter)
 
 getAdaptedMetadata ()
 

Protected Member Functions

 resolveValueForOperator ()
 
 resolveClausesAndStructure ()
 
 resolveDynamicallyDerivedAttributeClauseAndStructure ()
 
 resolveRelationReportedAsAttributeClauseAndStructure ()
 
 resolveNonRelationNonDerivedAttributeClauseAndStructure ()
 
 resolveDateAttributeClauseAndStructure ()
 
 getDateOrDateTimeRulesClassName ()
 
 resolveUserAttributeClauseAndStructure ()
 
 resolveForValueByRules ($rulesClassName, $attributesAndRelations, $value)
 
 resolveNumericAttributeClauseAndStructure ()
 
 resolveCurrencyValueAttributeClauseAndStructure ()
 
 resolveDropDownVariantAttributeClauseAndStructure ()
 
 resolveTextAttributeClauseAndStructure ()
 
 resolveBooleanAttributeClauseAndStructure ()
 
 resolveRelatedIdAttributeClauseAndStructure ()
 
 getRealAttributeName ()
 
 resetClausesAndStructure ()
 
 makeModelRelationsAndAttributesToReportAdapter ()
 

Protected Attributes

 $filter
 
 $structure
 
 $structureCount = 1
 
 $clauses = array()
 
 $modelRelationsAndAttributesToReportAdapter
 

Detailed Description

Helper class for adapting a FilterForReportForm into search metadata

Definition at line 40 of file FilterForReportFormToDataProviderMetadataAdapter.php.

Constructor & Destructor Documentation

__construct ( FilterForReportForm  $filter)
Parameters
FilterForReportForm$filter

Definition at line 70 of file FilterForReportFormToDataProviderMetadataAdapter.php.

Member Function Documentation

getAdaptedMetadata ( )
Returns
array

Definition at line 79 of file FilterForReportFormToDataProviderMetadataAdapter.php.

getDateOrDateTimeRulesClassName ( )
protected
Returns
string
Exceptions
NotSupportedExceptionif the displayElementType is not Date or DateTime, which means it is invalid

Definition at line 228 of file FilterForReportFormToDataProviderMetadataAdapter.php.

resolveForValueByRules (   $rulesClassName,
  $attributesAndRelations,
  $value 
)
protected

Utilized to process date and dateTime clauses properly

Parameters
string$rulesClassName
array$attributesAndRelations
mixed$value
Returns
mixed

Definition at line 281 of file FilterForReportFormToDataProviderMetadataAdapter.php.

getRealAttributeName ( )
protected
Returns
string

Definition at line 413 of file FilterForReportFormToDataProviderMetadataAdapter.php.

makeModelRelationsAndAttributesToReportAdapter ( )
protected

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