All Data Structures Functions Variables Pages
Public Member Functions | Protected Attributes
MarketingListsSearchDataProviderMetadataAdapter Class Reference
Inheritance diagram for MarketingListsSearchDataProviderMetadataAdapter:
SearchDataProviderMetadataAdapter DataProviderMetadataAdapter

Public Member Functions

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

Protected Attributes


Additional Inherited Members

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:
Generated on Fri May 29 2020 07:10:51