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

Public Member Functions

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

Data Fields


Protected Attributes


Additional Inherited Members

Detailed Description

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

Definition at line 41 of file ConversationsSearchDataProviderMetadataAdapter.php.

Constructor & Destructor Documentation

__construct (   $model,

Override to add passing in type

Definition at line 66 of file ConversationsSearchDataProviderMetadataAdapter.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 78 of file ConversationsSearchDataProviderMetadataAdapter.php.

The documentation for this class was generated from the following file:
Generated on Wed May 27 2020 07:10:44