All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
StateMetadataAdapter Class Reference
Inheritance diagram for StateMetadataAdapter:
StateMetadataAdapterInterface ContactsAndLeadsMarketingListsStateMetadataAdapter ContactsStateMetadataAdapter EmailTemplatesForMarketingStateMetadataAdapter EmailTemplatesForWorkflowStateMetadataAdapter GameRewardsForRedemptionStateMetadataAdapter LeadsStateMetadataAdapter

Public Member Functions

 __construct (array $metadata)
 
 getAdaptedDataProviderMetadata ()
 

Static Public Member Functions

static getStateAttributeName ()
 
static getStateModelClassName ()
 
static getModuleClassNameByModel (RedBeanModel $model)
 
static resolveModuleClassNameByModel (RedBeanModel $model)
 

Protected Member Functions

 getStateIds ()
 

Protected Attributes

 $metadata
 

Detailed Description

Adapter class to manipulate state information for a module into metadata.

Definition at line 41 of file StateMetadataAdapter.php.

Member Function Documentation

getAdaptedDataProviderMetadata ( )

Creates where clauses and adds structure information to existing DataProvider metadata.

Implements StateMetadataAdapterInterface.

Definition at line 61 of file StateMetadataAdapter.php.

getStateIds ( )
abstractprotected
Returns
array of states that should be included for the Module
static getStateModelClassName ( )
static

Override method in extended class to implement.

Returns
string of state model class name.

Definition at line 119 of file StateMetadataAdapter.php.

static getModuleClassNameByModel ( RedBeanModel  $model)
static

Override as needed.

Parameters
RedBeanModel$model
Returns
null

Definition at line 129 of file StateMetadataAdapter.php.


The documentation for this class was generated from the following file:
Generated on Tue Jan 28 2020 07:10:41