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

Public Member Functions

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

Protected Attributes

 $type
 

Additional Inherited Members

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:
Generated on Fri Jan 24 2020 07:10:37