1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,27 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+/** |
|
4 |
+ * Custom extension for Isotope for Contao |
|
5 |
+ * |
|
6 |
+ * Copyright (c) 2014 Benjamin Roth [http://www.esales-media.de] |
|
7 |
+ * |
|
8 |
+ * @package eSM_isotope_custom |
|
9 |
+ * @link http://www.esales-media.de |
|
10 |
+ * @license commercial |
|
11 |
+ */ |
|
12 |
+ |
|
13 |
+$GLOBALS['FE_MOD']['isotope']['expertisePDF'] = 'eSM_isotope_custom\\Pdf\\ModuleExpertisePdf'; |
|
14 |
+$GLOBALS['FE_MOD']['isotope']['iso_cumulativefilter'] = 'eSM_isotope_custom\\Module\\CumulativeFilter'; |
|
15 |
+ |
|
16 |
+$GLOBALS['TL_HOOKS']['replaceInsertTags'][] = array('eSM_isotope_custom\\InsertTag', 'eSMReplaceInsertTags'); |
|
17 |
+$GLOBALS['TL_HOOKS']['addCustomRegexp'][] = array('eSM_isotope_custom\\IsotopeHooks', 'addCustomRegexp'); |
|
18 |
+$GLOBALS['TL_HOOKS']['getAttributesFromDca'][] = array('eSM_isotope_custom\\IsotopeHooks', 'getAttributesFromDca'); |
|
19 |
+$GLOBALS['ISO_HOOKS']['addProductToCollection'][] = array('eSM_isotope_custom\\IsotopeHooks', 'addProductToCollection'); |
|
20 |
+$GLOBALS['ISO_HOOKS']['calculatePrice'][] = array('eSM_isotope_custom\\IsotopeHooks', 'calculatePrice'); |
|
21 |
+$GLOBALS['ISO_HOOKS']['addAssetImportRegexp'][] = array('eSM_isotope_custom\\IsotopeHooks', 'addAssetImportRegexp'); |
|
22 |
+$GLOBALS['ISO_HOOKS']['modifyAddressFields'][] = array('eSM_isotope_custom\\IsotopeHooks', 'modifyAddressFields'); |
|
23 |
+$GLOBALS['ISO_HOOKS']['findSurchargesForCollection'][] = array('eSM_isotope_custom\\IsotopeHooks', 'findSurcharges'); |
|
24 |
+ |
|
25 |
+ |
|
26 |
+\Isotope\Model\Product::registerModelType('standard', 'eSM_isotope_custom\Model\Standard'); |
|
27 |
+\Isotope\Model\ProductCollectionSurcharge::registerModelType('affentalerRule', 'eSM_isotope_custom\Model\ProductCollectionSurcharge\AffentalerRule'); |