Система Событий (Event) в OpenCart. Часть 3 из 3 - Список существующих Событий в OpenCart.

О том что такое События (Event) в OpenCart, как происходит обработка Событий и регистрация Событий я писал в первой и второй части этой статьи. В этой части я дам список существующих Событий в OpenCart.  
 
Важное замечание! Система Событий только появилась в OpenCart 2.0 и находится в разработке, поэтому со временем скорее всего появятся другие События, 
не описанные в этой статье. Если нашли такое Событие - напишите в комментариях, она будет добавлено в статью.
 
Список Событий (Event) OpenCart
 
МЕТОД НАЗВАНИЕ ПАРАМЕТРЫ
catalog/model/checkout/order.php
addOrder pre.order.add $data
addOrder post.order.add $order_id
editOrder pre.order.edit $data
editOrder post.order.edit $order_id
deleteOrder pre.order.delete $order_id
deleteOrder post.order.delete $order_id
addOrderHistory pre.order.history.add $order_id
addOrderHistory post.order.history.add $order_id
catalog/model/catalog/review.php
addReview pre.review.add $data
addReview post.review.add $review_id
catalog/model/affiliate/affiliate.php
addAffiliate pre.affiliate.add $data
addAffiliate post.affiliate.add $affiliate_id
editAffiliate pre.affiliate.edit $data
editAffiliate post.affiliate.edit $affiliate_id
editPayment pre.affiliate.edit.payment $data
editPayment post.affiliate.edit.payment $affiliate_id
editPassword pre.affiliate.edit.password $affiliate_id
editPassword post.affiliate.edit.password $affiliate_id
addTransaction pre.affiliate.add.transaction  
addTransaction post.affiliate.add.transaction $affiliate_transaction_id
catalog/model/account/return.php
addReturn pre.return.add $data
addReturn post.return.add $return_id
catalog/model/account/customer.php
addCustomer pre.customer.add $data
addCustomer post.customer.add $customer_id
editCustomer pre.customer.edit $data
editCustomer post.customer.edit $customer_id
editPassword pre.customer.edit.password  
editPassword post.customer.edit.password  
editNewsletter pre.customer.edit.newsletter  
editNewsletter post.customer.edit.newsletter  
catalog/model/account/address.php
addAddress pre.customer.add.address $data
addAddress post.customer.add.address $address_id
editAddress pre.customer.edit.address $data
editAddress post.customer.edit.address $address_id
deleteAddress pre.customer.delete.address $address_id
deleteAddress post.customer.delete.address $address_id
catalog/controller/account/logout.php
index pre.customer.logout  
index post.customer.logout  
catalog/controller/account/login.php
index pre.customer.login  
index post.customer.login  
admin/model/tool/backup.php
backup pre.admin.backup $tables
backup post.admin.backup  
admin/model/setting/store.php
addStore pre.admin.store.add $data
addStore post.admin.store.add $store_id
editStore pre.admin.store.edit $data
editStore post.admin.store.edit $store_id
deleteStore pre.admin.store.delete $store_id
deleteStore post.admin.store.delete $store_id
admin/model/marketing/marketing.php
addMarketing pre.admin.marketing.add $data
addMarketing post.admin.marketing.add $marketing_id
editMarketing pre.admin.marketing.edit $data
editMarketing post.admin.marketing.edit $marketing_id
deleteMarketing pre.admin.marketing.delete $marketing_id
deleteMarketing post.admin.marketing.delete $marketing_id
admin/model/marketing/coupon.php
addCoupon pre.admin.coupon.add $data
addCoupon post.admin.coupon.add $coupon_id
editCoupon pre.admin.coupon.edit $data
editCoupon post.admin.coupon.edit $coupon_id
deleteCoupon pre.admin.coupon.delete $coupon_id
deleteCoupon post.admin.coupon.delete $coupon_id
admin/model/marketing/affiliate.php
addAffiliate pre.admin.affiliate.add $data
addAffiliate post.admin.affiliate.add $affiliate_id
editAffiliate pre.admin.affiliate.edit $data
editAffiliate post.admin.affiliate.edit $affiliate_id
deleteAffiliate pre.admin.affiliate.delete $affiliate_id
deleteAffiliate post.admin.affiliate.delete $affiliate_id
approve pre.admin.affiliate.approve $affiliate_id
approve post.admin.affiliate.approve $affiliate_id
addTransaction pre.admin.affiliate.transaction.add $affiliate_id
addTransaction post.admin.affiliate.transaction.add $affiliate_transaction_id
deleteTransaction pre.admin.affiliate.transaction.delete $order_id
deleteTransaction post.admin.affiliate.transaction.delete $order_id
admin/model/design/layout.php
addLayout pre.admin.layout.add $data
addLayout post.admin.layout.add $layout_id
editLayout pre.admin.layout.edit $data
editLayout post.admin.layout.edit $layout_id
deleteLayout pre.admin.layout.delete $layout_id
deleteLayout post.admin.layout.delete $layout_id
admin/model/design/banner.php
addBanner pre.admin.banner.add $data
addBanner post.admin.banner.add $banner_id
editBanner pre.admin.banner.edit $data
editBanner post.admin.banner.edit $banner_id
deleteBanner pre.admin.banner.delete $banner_id
deleteBanner post.admin.banner.delete $banner_id
admin/model/catalog/review.php
addReview pre.admin.review.add $data
addReview post.admin.review.add $review_id
editReview pre.admin.review.edit $data
editReview post.admin.review.edit $review_id
deleteReview pre.admin.review.delete $review_id
deleteReview post.admin.review.delete $review_id
admin/model/catalog/recurring.php
addRecurring pre.admin.recurring.add $data
addRecurring post.admin.recurring.add $recurring_id
editRecurring pre.admin.recurring.edit $data
editRecurring post.admin.recurring.edit $recurring_id
deleteRecurring pre.admin.recurring.delete $recurring_id
deleteRecurring post.admin.recurring.delete $recurring_id
admin/model/catalog/product.php
addProduct pre.admin.product.add $data
addProduct post.admin.product.add $product_id
editProduct pre.admin.product.edit $data
editProduct post.admin.product.edit $product_id
deleteProduct pre.admin.product.delete $product_id
deleteProduct post.admin.product.delete $product_id
admin/model/catalog/option.php
addOption pre.admin.option.add $data
addOption post.admin.option.add $option_id
editOption pre.admin.option.edit $data
editOption post.admin.option.edit $option_id
deleteOption pre.admin.option.delete $option_id
deleteOption post.admin.option.delete $option_id
admin/model/catalog/manufacturer.php
addManufacturer pre.admin.manufacturer.add $data
addManufacturer post.admin.manufacturer.add $manufacturer_id
editManufacturer pre.admin.manufacturer.edit $data
editManufacturer post.admin.manufacturer.edit  
deleteManufacturer pre.admin.manufacturer.delete $manufacturer_id
deleteManufacturer post.admin.manufacturer.delete $manufacturer_id
admin/model/catalog/information.php
addInformation pre.admin.information.add $data
addInformation post.admin.information.add $information_id
editInformation pre.admin.information.edit $data
editInformation post.admin.information.edit $information_id
deleteInformation pre.admin.information.delete $information_id
deleteInformation post.admin.information.delete $information_id
admin/model/catalog/filter.php
addFilter pre.admin.filter.add $data
addFilter post.admin.filter.add $filter_id
editFilter pre.admin.filter.edit $data
editFilter post.admin.filter.edit $filter_group_id
deleteFilter pre.admin.filter.delete $filter_group_id
deleteFilter post.admin.filter.delete $filter_group_id
admin/model/catalog/download.php
addDownload pre.admin.download.add $data
addDownload post.admin.download.add $download_id
editDownload pre.admin.download.edit $data
editDownload post.admin.download.edit $download_id
deleteDownload pre.admin.download.delete $download_id
deleteDownload post.admin.download.delete $download_id
admin/model/catalog/category.php
addCategory pre.admin.category.add $data
addCategory post.admin.category.add $category_id
editCategory pre.admin.category.edit $data
editCategory post.admin.category.edit $category_id
deleteCategory pre.admin.category.delete $category_id
deleteCategory post.admin.category.delete $category_id
admin/model/catalog/attribute_group.php
addAttributeGroup pre.admin.attribute_group.add $data
addAttributeGroup post.admin.attribute_group.add $attribute_group_id
editAttributeGroup pre.admin.attribute_group.edit $data
editAttributeGroup post.admin.attribute_group.edit $attribute_group_id
deleteAttributeGroup pre.admin.attribute_group.delete $attribute_group_id
deleteAttributeGroup post.admin.attribute_group.delete $attribute_group_id
admin/model/catalog/attribute.php
addAttribute pre.admin.attribute.add $data
addAttribute post.admin.attribute.add $attribute_id
editAttribute pre.admin.attribute.edit $data
editAttribute post.admin.attribute.edit $attribute_id
deleteAttribute pre.admin.attribute.delete $attribute_id
deleteAttribute post.admin.attribute.delete $attribute_id

 

 

Добавить комментарий

CAPTCHA
Защита от спама
Target Image