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

const LIST_TYPE_CREATED = 1
 
const LIST_TYPE_PARTICIPANT = 2
 
const LIST_TYPE_CLOSED = 3
 

Protected Attributes

 $type
 

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,
  $userId,
  $metadata,
  $type 
)

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 Sat Sep 26 2020 07:10:42
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.