Changeset View
Changeset View
Standalone View
Standalone View
modules/in-auction/units/sections/sections_config.php
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | |||||
'HookToSpecial' => '*', | 'HookToSpecial' => '*', | ||||
'HookToEvent' => Array('OnRemoveFromCart'), | 'HookToEvent' => Array('OnRemoveFromCart'), | ||||
'DoPrefix' => '', | 'DoPrefix' => '', | ||||
'DoSpecial' => '*', | 'DoSpecial' => '*', | ||||
'DoEvent' => 'OnBeforeRemoveFromCart', | 'DoEvent' => 'OnBeforeRemoveFromCart', | ||||
), | ), | ||||
Array ( | Array ( | ||||
'Mode' => hAFTER, | 'Mode' => hBEFORE, | ||||
'Conditional' => false, | 'Conditional' => false, | ||||
'HookToPrefix' => 'u', | 'HookToPrefix' => 'u', | ||||
'HookToSpecial' => '*', | 'HookToSpecial' => '*', | ||||
'HookToEvent' => Array('OnAfterConfigRead'), | 'HookToEvent' => Array('OnAfterConfigRead'), | ||||
'DoPrefix' => '', | 'DoPrefix' => '', | ||||
'DoSpecial' => '*', | 'DoSpecial' => '*', | ||||
'DoEvent' => 'OnModifyUsersConfig', | 'DoEvent' => 'OnModifyUsersConfig', | ||||
), | ), | ||||
Show All 38 Lines | |||||
'HookToSpecial' => '*', | 'HookToSpecial' => '*', | ||||
'HookToEvent' => Array('OnSave'), | 'HookToEvent' => Array('OnSave'), | ||||
'DoPrefix' => '', | 'DoPrefix' => '', | ||||
'DoSpecial' => '*', | 'DoSpecial' => '*', | ||||
'DoEvent' => 'OnAfterSaveProduct', | 'DoEvent' => 'OnAfterSaveProduct', | ||||
), | ), | ||||
Array ( | Array ( | ||||
'Mode' => hAFTER, | 'Mode' => hBEFORE, | ||||
'Conditional' => false, | 'Conditional' => false, | ||||
'HookToPrefix' => 'p', | 'HookToPrefix' => 'p', | ||||
'HookToSpecial' => '*', | 'HookToSpecial' => '*', | ||||
'HookToEvent' => Array('OnAfterConfigRead'), | 'HookToEvent' => Array('OnAfterConfigRead'), | ||||
'DoPrefix' => '', | 'DoPrefix' => '', | ||||
'DoSpecial' => '*', | 'DoSpecial' => '*', | ||||
'DoEvent' => 'OnAfterProductConfigRead', | 'DoEvent' => 'OnModifyProductsConfig', | ||||
alex: Please rename the `OnAfterProductConfigRead` event into `OnModifyProductsConfig` because… | |||||
), | ), | ||||
Array( | Array( | ||||
'Mode' => hAFTER, | 'Mode' => hBEFORE, | ||||
'Conditional' => false, | 'Conditional' => false, | ||||
'HookToPrefix' => 'c', | 'HookToPrefix' => 'c', | ||||
'HookToSpecial' => '*', | 'HookToSpecial' => '*', | ||||
'HookToEvent' => Array('OnAfterConfigRead'), | 'HookToEvent' => Array('OnAfterConfigRead'), | ||||
'DoPrefix' => '', | 'DoPrefix' => '', | ||||
'DoSpecial' => '*', | 'DoSpecial' => '*', | ||||
'DoEvent' => 'OnAfterCategoryConfigRead', | 'DoEvent' => 'OnModifyCategoriesConfig', | ||||
Not Done ReplyPlease rename the OnAfterCategoryConfigRead event into OnModifyCategoriesConfig because currently used event name conflicts with hook definition (hook says that it runs before, but event name says that it's executed after). alex: Please rename the `OnAfterCategoryConfigRead` event into `OnModifyCategoriesConfig` because… | |||||
), | ), | ||||
Array( | Array( | ||||
'Mode' => hAFTER, | 'Mode' => hAFTER, | ||||
'Conditional' => false, | 'Conditional' => false, | ||||
'HookToPrefix' => 'conf', | 'HookToPrefix' => 'conf', | ||||
'HookToSpecial' => '*', | 'HookToSpecial' => '*', | ||||
'HookToEvent' => Array('OnUpdate'), | 'HookToEvent' => Array('OnUpdate'), | ||||
▲ Show 20 Lines • Show All 76 Lines • ▼ Show 20 Line(s) | |||||
), | ), | ||||
), | ), | ||||
'ReplacementTemplates' => Array ( | 'ReplacementTemplates' => Array ( | ||||
// 'categories/categories_tabs' => 'in-auction/categories/categories_tabs', | // 'categories/categories_tabs' => 'in-auction/categories/categories_tabs', | ||||
// 'in-commerce/products/products_tabs' => 'in-auction/products/products_tabs', | // 'in-commerce/products/products_tabs' => 'in-auction/products/products_tabs', | ||||
), | ), | ||||
); | ); | ||||
No newline at end of file |
Please rename the OnAfterProductConfigRead event into OnModifyProductsConfig because currently used event name conflicts with hook definition (hook says that it runs before, but event name says that it's executed after).