MissionsSearchDataProviderMetadataAdapter Class Reference

Inheritance diagram for MissionsSearchDataProviderMetadataAdapter:
SearchDataProviderMetadataAdapter DataProviderMetadataAdapter

Public Member Functions

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

Protected Attributes

 $type

Detailed Description

Adapter class to handle special metadata needs of mission listviews. This is because there is a relation where clause with either the owner or takenByUser

Definition at line 41 of file MissionsSearchDataProviderMetadataAdapter.php.


Constructor & Destructor Documentation

__construct ( model,
userId,
metadata,
type 
)

Override to add passing in type

Definition at line 48 of file MissionsSearchDataProviderMetadataAdapter.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 62 of file MissionsSearchDataProviderMetadataAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jul 24 07:10:27 2017