All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Static Protected Member Functions | Protected Attributes
DynamicSearchDataProviderMetadataAdapter Class Reference

Public Member Functions

 __construct (array $metadata, SearchForm $model, $userId, $sanitizedDynamicSearchAttributes, $dynamicStructure)
 getAdaptedDataProviderMetadata ()

Static Public Member Functions

static numberToLetter ($num, $uppercase=false)

Data Fields


Protected Member Functions

 processData ($searchAttributes, &$clauseCount, &$correctlyPositionedClauses, &$metadata)

Static Protected Member Functions

static getAlphaCodeByInteger ($integer)
static resolveUnsetAndGetSructurePosition (&$searchAttribute)
static resolveUnsetAttributeIndexOrDerivedType (&$searchAttribute)

Protected Attributes


Detailed Description

Adapter class to manipulate dynamic search information for metadata.

Definition at line 40 of file DynamicSearchDataProviderMetadataAdapter.php.

Member Function Documentation

getAdaptedDataProviderMetadata ( )

Creates where clauses and adds structure information to existing DataProvider metadata.

Definition at line 73 of file DynamicSearchDataProviderMetadataAdapter.php.

static getAlphaCodeByInteger (   $integer)
6 digit alpha code that can be swapped later for the proper structure.

Definition at line 127 of file DynamicSearchDataProviderMetadataAdapter.php.

static numberToLetter (   $num,
  $uppercase = false 

Public for testing purposes Takes a number and converts it to a-z,aa-zz,aaa-zzz, etc with uppercase option

intnumber to convert
boolupper case the letter on return?
string letters from number input

Definition at line 186 of file DynamicSearchDataProviderMetadataAdapter.php.

The documentation for this class was generated from the following file:
Generated on Sun Feb 23 2020 07:10:43