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.

Reimplemented in EmailTemplatesForMarketingStateMetadataAdapter, EmailTemplatesForWorkflowStateMetadataAdapter, GameRewardsForRedemptionStateMetadataAdapter, and ContactsAndLeadsMarketingListsStateMetadataAdapter.

Definition at line 61 of file StateMetadataAdapter.php.

static getStateModelClassName (  )  [static]

Override method in extended class to implement.

Returns:
string of state model class name.

Reimplemented in ContactsStateMetadataAdapter.

Definition at line 119 of file StateMetadataAdapter.php.

static getModuleClassNameByModel ( RedBeanModel model  )  [static]

Override as needed.

Parameters:
RedBeanModel $model
Returns:
null

Reimplemented in ContactsStateMetadataAdapter.

Definition at line 129 of file StateMetadataAdapter.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Oct 18 07:10:30 2017