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 | 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

const NOT_USED_STRUCTURE_POSITION = 'notUsed'
 

Protected Member Functions

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

Static Protected Member Functions

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

Protected Attributes

 $metadata
 
 $model
 
 $userId
 
 $sanitizedDynamicSearchAttributes
 
 $dynamicStructure
 

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)
staticprotected
Returns
6 digit alpha code that can be swapped later for the proper structure.
Parameters
Integer$integer

Definition at line 127 of file DynamicSearchDataProviderMetadataAdapter.php.

static numberToLetter (   $num,
  $uppercase = false 
)
static

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

Parameters
intnumber to convert
boolupper case the letter on return?
Returns
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 Jul 12 2020 07:10:44
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.