MarketingListsSearchDataProviderMetadataAdapter Class Reference

Inheritance diagram for MarketingListsSearchDataProviderMetadataAdapter:
SearchDataProviderMetadataAdapter DataProviderMetadataAdapter

Public Member Functions

 __construct ($model, $userId, $metadata, $listId)
 getAdaptedMetadata ($appendStructureAsAnd=true)

Protected Attributes


Detailed Description

Adapter class to handle special metadata needs of marketing list listviews. This is because there is a relation where clause with marketing list id, which is difficult to do via the searchAttributes array

Definition at line 41 of file MarketingListsSearchDataProviderMetadataAdapter.php.

Constructor & Destructor Documentation

__construct ( model,

Override to add passing in listId

Definition at line 48 of file MarketingListsSearchDataProviderMetadataAdapter.php.

Member Function Documentation

getAdaptedMetadata ( appendStructureAsAnd = true  ) 

Convert metadata which is just an array of posted searchAttributes into metadata that is readable by the RedBeanModelDataProvider

Definition at line 59 of file MarketingListsSearchDataProviderMetadataAdapter.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Nov 16 07:10:59 2019