OXID eShop CE  6.4.2
OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao:
+ Collaboration diagram for OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao:

Public Member Functions

 __construct (QueryBuilderFactoryInterface $queryBuilderFactory, ContextInterface $context, ShopSettingEncoderInterface $shopSettingEncoder, ShopAdapterInterface $shopAdapter, TransactionServiceInterface $transactionService, EventDispatcherInterface $eventDispatcher)
 
 save (Setting $moduleSetting, string $moduleId, int $shopId)
 
 delete (Setting $moduleSetting, string $moduleId, int $shopId)
 
 get (string $name, string $moduleId, int $shopId)
 

Private Member Functions

 saveDataToOxConfigTable (Setting $shopModuleSetting, string $moduleId, int $shopId)
 
 saveDataToOxConfigDisplayTable (Setting $shopModuleSetting, string $moduleId)
 
 getDataFromOxConfigTable (string $name, string $moduleId, int $shopId)
 
 getDataFromOxConfigDisplayTable (string $name, string $moduleId)
 
 deleteFromOxConfigTable (Setting $shopModuleSetting, string $moduleId, int $shopId)
 
 deleteFromOxConfigDisplayTable (Setting $shopModuleSetting, string $moduleId)
 
 getPrefixedModuleId (string $moduleId)
 
 dispatchEvent (Setting $shopModuleSetting, string $moduleId, int $shopId)
 

Private Attributes

 $queryBuilderFactory
 
 $context
 
 $shopSettingEncoder
 
 $shopAdapter
 
 $transactionService
 
 $eventDispatcher
 

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::__construct ( QueryBuilderFactoryInterface  $queryBuilderFactory,
ContextInterface  $context,
ShopSettingEncoderInterface  $shopSettingEncoder,
ShopAdapterInterface  $shopAdapter,
TransactionServiceInterface  $transactionService,
EventDispatcherInterface  $eventDispatcher 
)
Parameters
QueryBuilderFactoryInterface$queryBuilderFactory
ContextInterface$context
ShopSettingEncoderInterface$shopSettingEncoder
ShopAdapterInterface$shopAdapter
TransactionServiceInterface$transactionService
EventDispatcherInterface$eventDispatcher

Member Function Documentation

◆ delete()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::delete ( Setting  $moduleSetting,
string  $moduleId,
int  $shopId 
)
Parameters
Setting$moduleSetting
string$moduleId
int$shopId

Implements OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDaoInterface.

◆ deleteFromOxConfigDisplayTable()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::deleteFromOxConfigDisplayTable ( Setting  $shopModuleSetting,
string  $moduleId 
)
private
Parameters
Setting$shopModuleSetting
string$moduleId

◆ deleteFromOxConfigTable()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::deleteFromOxConfigTable ( Setting  $shopModuleSetting,
string  $moduleId,
int  $shopId 
)
private
Parameters
Setting$shopModuleSetting
string$moduleId
int$shopId

◆ dispatchEvent()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::dispatchEvent ( Setting  $shopModuleSetting,
string  $moduleId,
int  $shopId 
)
private
Parameters
Setting$shopModuleSetting
string$moduleId
int$shopId

◆ get()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::get ( string  $name,
string  $moduleId,
int  $shopId 
)
Parameters
string$name
string$moduleId
int$shopId
Returns
Setting
Exceptions
EntryDoesNotExistDaoException

Implements OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDaoInterface.

◆ getDataFromOxConfigDisplayTable()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::getDataFromOxConfigDisplayTable ( string  $name,
string  $moduleId 
)
private
Parameters
string$name
string$moduleId
Returns
array

◆ getDataFromOxConfigTable()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::getDataFromOxConfigTable ( string  $name,
string  $moduleId,
int  $shopId 
)
private
Parameters
string$name
string$moduleId
int$shopId
Returns
array
Exceptions
EntryDoesNotExistDaoException

◆ getPrefixedModuleId()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::getPrefixedModuleId ( string  $moduleId)
private
Parameters
string$moduleId
Returns
string

◆ save()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::save ( Setting  $moduleSetting,
string  $moduleId,
int  $shopId 
)
Parameters
Setting$moduleSetting
string$moduleId
int$shopId
Exceptions

Implements OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDaoInterface.

◆ saveDataToOxConfigDisplayTable()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::saveDataToOxConfigDisplayTable ( Setting  $shopModuleSetting,
string  $moduleId 
)
private
Parameters
Setting$shopModuleSetting
string$moduleId

◆ saveDataToOxConfigTable()

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::saveDataToOxConfigTable ( Setting  $shopModuleSetting,
string  $moduleId,
int  $shopId 
)
private
Parameters
Setting$shopModuleSetting
string$moduleId
int$shopId

Member Data Documentation

◆ $context

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::$context
private

◆ $eventDispatcher

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::$eventDispatcher
private

◆ $queryBuilderFactory

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::$queryBuilderFactory
private

◆ $shopAdapter

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::$shopAdapter
private

◆ $shopSettingEncoder

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::$shopSettingEncoder
private

◆ $transactionService

OxidEsales\EshopCommunity\Internal\Framework\Module\Setting\SettingDao::$transactionService
private

The documentation for this class was generated from the following file: