first commit
This commit is contained in:
6
modules/psxmarketingwithgoogle/config/common/adapter.yml
Normal file
6
modules/psxmarketingwithgoogle/config/common/adapter.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
services:
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter
|
||||
public: true
|
||||
arguments:
|
||||
- '@=service("psxmarketingwithgoogle.shop").id'
|
||||
4
modules/psxmarketingwithgoogle/config/common/buffer.yml
Normal file
4
modules/psxmarketingwithgoogle/config/common/buffer.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Buffer\TemplateBuffer:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Buffer\TemplateBuffer
|
||||
public: true
|
||||
4
modules/psxmarketingwithgoogle/config/common/config.yml
Normal file
4
modules/psxmarketingwithgoogle/config/common/config.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Config\Env:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Config\Env
|
||||
public: true
|
||||
50
modules/psxmarketingwithgoogle/config/common/context.yml
Normal file
50
modules/psxmarketingwithgoogle/config/common/context.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
services:
|
||||
psxmarketingwithgoogle.context:
|
||||
class: 'Context'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getContext']
|
||||
|
||||
psxmarketingwithgoogle.controller:
|
||||
class: 'Controller'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getController']
|
||||
|
||||
psxmarketingwithgoogle.cookie:
|
||||
class: 'Cookie'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getCookie']
|
||||
|
||||
psxmarketingwithgoogle.language:
|
||||
class: 'Language'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getLanguage']
|
||||
|
||||
psxmarketingwithgoogle.currency:
|
||||
class: 'Currency'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getCurrency']
|
||||
|
||||
psxmarketingwithgoogle.smarty:
|
||||
class: 'Smarty'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getSmarty']
|
||||
|
||||
psxmarketingwithgoogle.country:
|
||||
class: 'Country'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getCountry']
|
||||
|
||||
psxmarketingwithgoogle.shop:
|
||||
class: 'Shop'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getShop']
|
||||
|
||||
psxmarketingwithgoogle.link:
|
||||
class: 'Shop'
|
||||
public: true
|
||||
factory: ['PrestaShop\Module\PsxMarketingWithGoogle\Factory\ContextFactory', 'getLink']
|
||||
|
||||
psxmarketingwithgoogle.db:
|
||||
class: Db
|
||||
public: true
|
||||
factory: [ 'Db', 'getInstance' ]
|
||||
5
modules/psxmarketingwithgoogle/config/common/factory.yml
Normal file
5
modules/psxmarketingwithgoogle/config/common/factory.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
services:
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Factory\ApiClientFactory:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Factory\ApiClientFactory
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PsxMarketingWithGoogle\Config\Env'
|
||||
13
modules/psxmarketingwithgoogle/config/common/handler.yml
Normal file
13
modules/psxmarketingwithgoogle/config/common/handler.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Handler\ErrorHandler:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Handler\ErrorHandler
|
||||
public: true
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Handler\RemarketingHookHandler:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Handler\RemarketingHookHandler
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\Module\PsxMarketingWithGoogle\Buffer\TemplateBuffer'
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
- '@psxmarketingwithgoogle'
|
||||
11
modules/psxmarketingwithgoogle/config/common/index.php
Normal file
11
modules/psxmarketingwithgoogle/config/common/index.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
34
modules/psxmarketingwithgoogle/config/common/provider.yml
Normal file
34
modules/psxmarketingwithgoogle/config/common/provider.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
services:
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Provider\PurchaseEventDataProvider:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Provider\PurchaseEventDataProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@PrestaShop\Module\PsxMarketingWithGoogle\Provider\ProductDataProvider'
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
- '@PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter'
|
||||
- '@PrestaShop\Module\PsxMarketingWithGoogle\Repository\LanguageRepository'
|
||||
- '@PrestaShop\Module\PsxMarketingWithGoogle\Repository\CountryRepository'
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Provider\CartEventDataProvider:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Provider\CartEventDataProvider
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Provider\ProductDataProvider:
|
||||
class: 'PrestaShop\Module\PsxMarketingWithGoogle\Provider\ProductDataProvider'
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Provider\ConversionEventDataProvider:
|
||||
class: 'PrestaShop\Module\PsxMarketingWithGoogle\Provider\ConversionEventDataProvider'
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Provider\PageViewEventDataProvider:
|
||||
class: 'PrestaShop\Module\PsxMarketingWithGoogle\Provider\PageViewEventDataProvider'
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
55
modules/psxmarketingwithgoogle/config/common/repository.yml
Normal file
55
modules/psxmarketingwithgoogle/config/common/repository.yml
Normal file
@@ -0,0 +1,55 @@
|
||||
services:
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Repository\TabRepository:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\TabRepository
|
||||
public: true
|
||||
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Repository\CarrierRepository:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\CarrierRepository
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.db'
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Repository\AttributesRepository:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\AttributesRepository
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Repository\CountryRepository:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\CountryRepository
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.db'
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
- '@psxmarketingwithgoogle.country'
|
||||
- '@PrestaShop\Module\PsxMarketingWithGoogle\Adapter\ConfigurationAdapter'
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Repository\CurrencyRepository:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\CurrencyRepository
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.currency'
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Repository\LanguageRepository:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\LanguageRepository
|
||||
public: true
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Repository\ProductRepository:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\ProductRepository
|
||||
public: true
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Repository\StateRepository:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\StateRepository
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.db'
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Repository\TaxRepository:
|
||||
class: PrestaShop\Module\PsxMarketingWithGoogle\Repository\TaxRepository
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.db'
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
6
modules/psxmarketingwithgoogle/config/common/segment.yml
Normal file
6
modules/psxmarketingwithgoogle/config/common/segment.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
services:
|
||||
PrestaShop\Module\PsxMarketingWithGoogle\Tracker\Segment:
|
||||
class: 'PrestaShop\Module\PsxMarketingWithGoogle\Tracker\Segment'
|
||||
public: true
|
||||
arguments:
|
||||
- '@psxmarketingwithgoogle.context'
|
||||
Reference in New Issue
Block a user