magento事件一览表-尊龙官方平台

magento事件一览表

el/2024/3/25 15:06:49

magento -- magento事件一览表 magento module event name parameters mage admin admin_session_user_login_success array('user'=>$user) mage admin admin_session_user_login_failed array('user_name'=>$username, 'exception' => $e) mage admin admin_user_authenticate_after array('username' => $username,'password' => $password,'user' => $this,'result' => $result) mage adminhtml adminhtml_block_html_before array('block' => $this) mage adminhtml adminhtml_catalog_category_tabs array('tabs' => $this) mage adminhtml adminhtml_catalog_category_tree_is_moveable array('options'=>$options) mage adminhtml adminhtml_catalog_category_tree_can_add_root_category array('category' => $this→getcategory(),'options' => $options,'store' => $this→getstore()→getid()) mage adminhtml adminhtml_catalog_category_tree_can_add_sub_category array('category' => $this→getcategory(),'options' => $options,'store' => $this→getstore()→getid()) mage adminhtml adminhtml_product_attribute_types array('response'=>$response) mage adminhtml adminhtml_catalog_product_edit_prepare_form array('form'=>$form) mage adminhtml adminhtml_catalog_product_edit_element_types array('response'=>$response) mage adminhtml adminhtml_catalog_product_attribute_set_main_html_before array('block' => $this) mage adminhtml adminhtml_catalog_product_attribute_set_toolbar_main_html_before array('block' => $this) mage adminhtml adminhtml_catalog_product_form_prepare_excluded_field_list array('object'=>$this) mage adminhtml adminhtml_catalog_product_edit_prepare_form array('form'=>$form) mage adminhtml adminhtml_catalog_product_edit_element_types array('response'=>$response) mage adminhtml adminhtml_catalog_product_edit_tab_attributes_create_html_before array('block' => $this) mage adminhtml adminhtml_cms_page_edit_tab_content_prepare_form array('form' => $form) mage adminhtml adminhtml_cms_page_edit_tab_design_prepare_form array('form' => $form) mage adminhtml adminhtml_cms_page_edit_tab_main_prepare_form array('form' => $form) mage adminhtml adminhtml_cms_page_edit_tab_meta_prepare_form array('form' => $form) mage adminhtml adminhtml_widget_grid_filter_collection array('collection' => $this→getcollection(), 'filter_values' => $this→_filtervalues) mage adminhtml adminhtml_widget_container_html_before array('block' => $this) mage adminhtml adminhtml_controller_action_predispatch_start array() mage adminhtml adminhtml_customer_prepare_save array('customer' => $customer, 'request' => $this→getrequest()) mage adminhtml adminhtml_customer_save_after array('customer' => $customer) mage adminhtml on_view_report array('report' => 'search') mage adminhtml catalog_category_prepare_save array('category' => $category,'request' => $this→getrequest()) mage adminhtml catalog_controller_category_delete array('category'=>$category) mage adminhtml catalog_product_new_action array('product' => $product) mage adminhtml catalog_product_edit_action array('product' => $product) mage adminhtml catalog_product_prepare_save array('product' => $product, 'request' => $this→getrequest()) mage adminhtml catalog_controller_product_delete array('product' => $product) mage adminhtml catalog_product_to_website_change array( mage adminhtml cms_page_prepare_save array('page' => $model, 'request' => $this→getrequest()) mage adminhtml adminhtml_cmspage_on_delete array('title' => $title, 'status' => 'success') mage adminhtml adminhtml_cmspage_on_delete array('title' => $title, 'status' => 'fail') mage adminhtml admin_permissions_role_prepare_save array('object' => $role, 'request' => $this→getrequest()) mage adminhtml adminhtml_controller_catalogrule_prepare_save array('request' => $this→getrequest()) mage adminhtml adminhtml_controller_salesrule_prepare_save array('request' => $this→getrequest()) mage adminhtml adminhtml_sales_order_create_process_data $eventdata mage adminhtml adminhtml_sales_order_creditmemo_register_before $args mage adminhtml admin_system_config_changed_section_{$section} array('website' => $website, 'store' => $store) mage adminhtml store_group_save array('group' => $groupmodel) mage adminhtml store_edit array('store'=>$storemodel) mage adminhtml store_add array('store'=>$storemodel) mage adminhtml store_delete array('store' => $model) mage adminhtml sales_convert_order_to_quote array('order' => $order,'quote' => $this→getquote()) mage adminhtml sales_convert_order_item_to_quote_item array('order_item' => $orderitem,'quote_item' => $item) mage api api_user_authenticated array('model' => $this,'api_key' => $apikey) mage bundle bundle_product_view_config $args mage bundle prepare_catalog_product_index_select array('select' => $select,'entity_field' => new zend_db_expr('e.entity_id'),'website_field' => new zend_db_expr('cw.website_id'),'store_field' => new zend_db_expr('cs.store_id')) mage bundle prepare_catalog_product_price_index_table array('index_table' => array('i' => $this→_getdefaultfinalpricetable()),'select' => $select,'entity_id' => 'i.entity_id mage bundle catalog_product_prepare_index_select array('website' => $website,'select' => $select) mage bundle catalog_product_get_final_price array('product'=>$product) mage catalog catalog_block_product_list_collection array('collection'=>$this→_getproductcollection(),) mage catalog catalog_product_view_config array('response_object'=>$responseobject) mage catalog catalog_product_upsell array('product' => $product,'collection' => $this→_itemcollection,'limit' => $this→getitemlimit()) mage catalog catalog_controller_category_init_before array('controller_action'=>$this) mage catalog catalog_controller_category_init_after array('category'=>$category, 'controller_action'=>$this) mage catalog catalog_controller_product_init_before array('controller_action'=>$this) mage catalog catalog_controller_product_init array('product'=>$product) mage catalog catalog_controller_product_init_after array('product'=>$product, 'controller_action' => $this) mage catalog catalog_controller_product_view array('product'=>$product) mage catalog catalog_product_compare_add_product array('product'=>$product) mage catalog catalog_product_compare_remove_product array('product'=>$item) mage catalog catalog_helper_output_construct array('helper'=>$this) mage catalog catalog_category_tree_move_before $eventparams mage catalog $this→_eventprefix.'_move_before' $eventparams mage catalog $this→_eventprefix.'_move_after' $eventparams mage catalog catalog_category_tree_move_after $eventparams mage catalog category_move $eventparams mage catalog $this→_eventprefix.'_validate_before' array($this→_eventobject=>$this) mage catalog $this→_eventprefix.'_validate_after' array($this→_eventobject=>$this) mage catalog catalog_model_product_duplicate array('current_product'=>$this, 'new_product'=>$newproduct) mage catalog catalog_product_is_salable_before array('product' => $this) mage catalog catalog_product_is_salable_after array('product' => $this,'salable' => $object) mage catalog $this→_eventprefix.'_delete_after_done' array($this→_eventobject=>$this) mage catalog catalog_product_import_after array() mage catalog catalog_product_website_update_before array('website_ids' => $websiteids,'product_ids' => $productids,'action' => $type) mage catalog catalog_product_website_update array('website_ids' => $websiteids,'product_ids' => $productids,'action' => $type) mage catalog catalog_product_status_update array('product_id' => $productid,'store_id' => $storeid,'status' => $value) mage catalog catalog_product_get_final_price array('product'=>$product) mage catalog catalog_category_change_products array('category' => $category,'product_ids' => $productids) mage catalog $this→_eventprefix . '_load_before' array($this→_eventobject => $this) mage catalog $this→_eventprefix . '_load_after' array($this→_eventobject => $this) mage catalog $this→_eventprefix . '_add_is_active_filter' array($this→_eventobject => $this) mage catalog catalog_category_tree_init_inactive_category_ids array('tree'=>$this) mage catalog catalog_category_tree_init_inactive_category_ids array('tree'=>$this) mage catalog catalog_category_tree_move_before array('category' => $category,'prev_parent' => $prevnode,'parent' => $newparent) mage catalog catalog_category_tree_move_after array('category' => $category,'prev_node' => $prevnode,'parent' => $newparent) mage catalog $this→_eventprefix . '_load_before' array($this→_eventobject => $this) mage catalog $this→_eventprefix . '_load_after' array($this→_eventobject => $this) mage catalog $this→_eventprefix . '_add_is_active_filter' array($this→_eventobject => $this) mage catalog catalogindex_prepare_price_select $eventargs mage catalog catalog_prepare_price_select $eventargs mage catalog catalog_product_collection_load_before array('collection'=>$this) mage catalog catalog_product_collection_load_after array('collection'=>$this) mage catalog catalog_product_collection_before_add_count_to_categories array('collection'=>$this) mage catalog catalog_product_collection_apply_limitations_after array('collection' => $this) mage catalog catalog_product_compare_item_collection_clear mage catalog catalog_product_flat_prepare_columns array('columns' => $columnsobject) mage catalog catalog_product_flat_prepare_indexes array('indexes' => $indexesobject) mage catalog catalog_product_flat_rebuild array('store_id' => $store,'table' => $this→getflattablename($store)) mage catalog catalog_product_flat_update_product array('store_id' => $store,'table' => $this→getflattablename($store),'product_ids' => $productids) mage catalog prepare_catalog_product_index_select array('select' => $select,'entity_field' => new zend_db_expr('pid.entity_id'),'website_field' => new zend_db_expr('cs.website_id'),'store_field' => new zend_db_expr('cs.store_id')) mage catalog prepare_catalog_product_index_select array('select' => $select,'entity_field' => new zend_db_expr('pvd.entity_id'),'website_field' => new zend_db_expr('cs.website_id'),'store_field' => new zend_db_expr('cs.store_id')) mage catalog prepare_catalog_product_index_select array('select' => $select,'entity_field' => new zend_db_expr('l.parent_id'),'website_field' => new zend_db_expr('cs.website_id'),'store_field' => new zend_db_expr('cs.store_id')) mage catalog prepare_catalog_product_index_select array('select' => $select,'entity_field' => new zend_db_expr('e.entity_id'),'website_field' => new zend_db_expr('cw.website_id'),'store_field' => new zend_db_expr('cs.store_id')) mage catalog prepare_catalog_product_price_index_table array('index_table' => array('i' => $this→_getdefaultfinalpricetable()),'select' => $select,'entity_id' => 'i.entity_id mage catalog prepare_catalog_product_price_index_select array('select' => $select,'entity_field' => new zend_db_expr('e.entity_id'),'website_field' => new zend_db_expr('cw.website_id'),'store_field' => new zend_db_expr('cs.store_id')) mage catalogindex catalogindex_plain_reindex_after array('products' => $products) mage catalogindex catalogindex_prepare_price_select $args mage catalogindex catalogindex_get_minimal_price $eventdata mage catalogindex catalogindex_prepare_price_select $args mage catalogindex catalogindex_prepare_price_select $args mage catalogindex catalogindex_prepare_price_select $args mage catalogindex catalogindex_prepare_price_select $args mage catalogrule catalogrule_before_apply array('resource'=>$this) mage catalogrule catalogrule_after_apply array('product'=>$product,'product_condition' => $productcondition) mage catalogsearch catalogsearch_reset_search_result' mage checkout checkout_cart_add_product_complete array('product' => $product, 'request' => $this→getrequest(), 'response' => $this→getresponse()) mage checkout checkout_controller_multishipping_shipping_post array('request'=>$this→getrequest(), 'quote'=>$this→_getcheckout()→getquote()) mage checkout checkout_multishipping_controller_success_action' mage checkout checkout_onepage_controller_success_action' mage checkout checkout_controller_onepage_save_shipping_method array('request'=>$this→getrequest(), 'quote'=>$this→getonepage()→getquote()) mage checkout checkout_allow_guest array('quote' => $quote,'store' => $store,'result' => $result) mage checkout checkout_cart_product_add_after array('quote_item'=>$result, 'product'=>$product) mage checkout checkout_cart_update_items_before array('cart'=>$this, 'info'=>$data) mage checkout checkout_cart_update_items_after array('cart'=>$this, 'info'=>$data) mage checkout checkout_cart_info_item_unset_product_before array( mage checkout checkout_quote_init array('quote'=>$quote) mage checkout checkout_quote_destroy array('quote'=>$this→getquote()) mage checkout checkout_type_multishipping_set_shipping_items array('quote'=>$this→getquote()) mage checkout checkout_type_multishipping_create_orders_single array('order'=>$order, 'address'=>$address) mage checkout checkout_type_onepage_save_order array('order'=>$order, 'quote'=>$this→getquote()) mage checkout checkout_type_onepage_save_order_after array('order'=>$order, 'quote'=>$this→getquote()) mage cms cms_controller_router_match_before array('router' => $this,'condition' => $condition) mage cms cms_page_get_available_statuses array('statuses' => $statuses) mage core core_block_abstract_prepare_layout_before array('block' => $this) mage core core_block_abstract_prepare_layout_after array('block' => $this) mage core core_block_abstract_to_html_before array('block' => $this) mage core core_block_abstract_to_html_after array('block' => $this) mage core http_response_send_before array('response'=>$this) mage core controller_action_layout_load_before array('action'=>$this, 'layout'=>$this→getlayout()) mage core controller_action_layout_generate_xml_before array('action'=>$this, 'layout'=>$this→getlayout()) mage core controller_action_layout_generate_blocks_before array('action'=>$this, 'layout'=>$this→getlayout()) mage core controller_action_layout_generate_blocks_after array('action'=>$this, 'layout'=>$this→getlayout()) mage core controller_action_layout_render_before' mage core controller_action_layout_render_before_'.$this→getfullactionname() mage core controller_action_predispatch array('controller_action'=>$this) mage core controller_action_predispatch_'.$this→getrequest()→getroutename() array('controller_action'=>$this) mage core controller_action_predispatch_'.$this→getfullactionname() array('controller_action'=>$this) mage core controller_action_postdispatch_'.$this→getfullactionname() array('controller_action'=>$this) mage core controller_action_postdispatch_'.$this→getrequest()→getroutename() array('controller_action'=>$this) mage core controller_action_postdispatch array('controller_action'=>$this) mage core controller_action_noroute array('action'=>$this, 'status'=>$status) mage core controller_action_nocookies array('action' => $this,'redirect' => $redirect) mage core controller_front_init_before array('front'=>$this) mage core controller_front_init_routers array('front'=>$this) mage core model_load_after array('object'=>$this) mage core $this→_eventprefix.'_load_after' array($this→_eventobject=>$this) mage core model_save_commit_after array('object'=>$this) mage core $this→_eventprefix.'_save_commit_after' array($this→_eventobject=>$this) mage core model_save_before array('object'=>$this) mage core $this→_eventprefix.'_save_before' array($this→_eventobject=>$this) mage core model_save_after array('object'=>$this) mage core $this→_eventprefix.'_save_after' array($this→_eventobject=>$this) mage core model_delete_before array('object'=>$this) mage core $this→_eventprefix.'_delete_before' array($this→_eventobject=>$this) mage core model_delete_after array('object'=>$this) mage core $this→_eventprefix.'_delete_after' array($this→_eventobject=>$this) mage core model_delete_commit_after array('object'=>$this) mage core $this→_eventprefix.'_delete_commit_after' array($this→_eventobject=>$this) mage core application_clean_cache array('tags' => $tags) mage core core_locale_set_locale array('locale'=>$this) mage core resource_get_tablename array('resource' => $this, 'model_entity' => $modelentity, 'table_name' => $tablename) mage core core_layout_update_updates_get_after array('updates' => $updatesroot) mage core core_layout_update_updates_get_after array('updates' => $updatesroot) mage core core_collection_abstract_load_before array('collection' => $this) mage core core_collection_abstract_load_after array('collection' => $this) mage customer customer_registration_is_allowed array('result' => $result) mage customer customer_customer_authenticated array('model' => $this,'password' => $password,) mage customer customer_session_init array('customer_session'=>$this) mage customer customer_login array('customer'=>$customer) mage customer customer_login array('customer'=>$customer) mage customer customer_login array('customer'=>$customer) mage customer customer_logout array('customer' => $this→getcustomer()) mage eav adminhtml_block_eav_attribute_edit_form_init array('form' => $this→getform()) mage eav eav_attribute_get_backend_type_by_input array('model'=>$this, 'type'=>$type) mage eav eav_attribute_get_default_value_by_input array('model'=>$this, 'type'=>$type) mage eav eav_collection_abstract_load_before array('collection' => $this) mage googlecheckout google_checkout_discount_item_price array('quote' => $this→getquote(), 'discount_item' => $discountitem) mage log log_log_clean_before array('log' => $object) mage log log_log_clean_after array('log' => $object) mage log log_visitor_collection_load_before array('collection' => $this) mage oscommerce store_add array('store'=>$storemodel) mage payment payment_method_is_active array('result' => $checkresult,'method_instance' => $this,'quote' => $quote,) mage paypal checkout_type_onepage_save_order array('order'=>$order, 'quote'=>$this→getreview()→getquote()) mage paypal checkout_type_onepage_save_order array('order'=>$order, 'quote'=>$this→getquote()) mage paypaluk checkout_type_onepage_save_order array('order'=>$order, 'quote'=>$this→getreview()→getquote()) mage paypaluk checkout_type_onepage_save_order array('order'=>$order, 'quote'=>$this→getquote()) mage review review_controller_product_init_before array('controller_action'=>$this) mage review review_controller_product_init array('product'=>$product) mage review review_controller_product_init_after array('product'=>$product, 'controller_action' => $this) mage review review_review_collection_load_before array('collection' => $this) mage rss rss_catalog_category_xml_callback $args mage rss rss_catalog_new_xml_callback $args mage rss rss_catalog_special_xml_callback $args mage rss rss_catalog_tagged_item_xml_callback $args mage rss rss_order_new_collection_select array('collection' => $collection) mage rule rule_environment_collect array('env'=>$this) mage sales sales_order_place_before array('order'=>$this) mage sales sales_order_place_after array('order'=>$this) mage sales sales_quote_remove_item array('quote_item' => $item) mage sales sales_quote_add_item array('quote_item' => $item) mage sales $this→_eventprefix . '_collect_totals_before' array($this→_eventobject=>$this) mage sales $this→_eventprefix . '_collect_totals_after' array($this→_eventobject=>$this) mage sales $this→_eventprefix . '_merge_before' array($this→_eventobject=>$this,'source'=>$quote) mage sales $this→_eventprefix . '_merge_after' array($this→_eventobject=>$this,'source'=>$quote) mage sales sales_convert_order_to_quote array('order'=>$order, 'quote'=>$quote) mage sales sales_convert_quote_to_order array('order'=>$order, 'quote'=>$quote) mage sales sales_convert_quote_address_to_order array('address'=>$address, 'order'=>$order) mage sales sales_convert_quote_address_to_order_address array('address' => $address, 'order_address' => $orderaddress) mage sales sales_convert_quote_payment_to_order_payment array('order_payment' => $orderpayment, 'quote_payment' => $payment) mage sales sales_convert_quote_item_to_order_item array('order_item'=>$orderitem, 'item'=>$item) mage sales sales_quote_item_collection_products_after_load array('product_collection'=>$productcollection) mage sales sales_sale_collection_query_before array('collection' => $this) mage sales sales_order_creditmemo_refund array($this→_eventobject=>$this) mage sales sales_order_creditmemo_cancel array($this→_eventobject=>$this) mage sales sales_order_invoice_pay array($this→_eventobject=>$this) mage sales sales_order_invoice_cancel array($this→_eventobject=>$this) mage sales sales_order_item_cancel array('item'=>$this) mage sales sales_order_payment_place_start array('payment' => $this) mage sales sales_order_payment_place_end array('payment' => $this) mage sales sales_order_payment_capture array('payment' => $this, 'invoice' => $invoice) mage sales sales_order_payment_pay array('payment' => $this, 'invoice' => $invoice) mage sales sales_order_payment_cancel_invoice array('payment' => $this, 'invoice' => $invoice) mage sales sales_order_payment_void array('payment' => $this, 'invoice' => $document) mage sales sales_order_payment_refund array('payment' => $this, 'creditmemo' => $creditmemo) mage sales sales_order_payment_cancel_creditmemo array('payment' => $this, 'creditmemo' => $creditmemo) mage sales sales_order_payment_cancel array('payment' => $this) mage sales sales_quote_item_qty_set_after array('item'=>$this) mage sales sales_quote_item_set_product array('product' => $product,'quote_item'=>$this) mage sales $this→_eventprefix . '_import_data_before' array($this→_eventobject=>$this,'input'=>$data,) mage sales sales_quote_address_discount_item $eventargs mage sales sales_quote_address_discount_item mage salesrule salesrule_validator_process array('rule' => $rule,'item' => $item,'address' => $address,'quote' => $quote,'qty' => $qty,'result' => $result,) mage salesrule sales_quote_address_discount_item $eventargs mage salesrule sales_quote_address_discount_item $eventargs mage salesrule salesrule_rule_condition_combine array('additional' => $additional) mage sendfriend sendfriend_product array('product' => $product) mage tag tag_tag_product_collection_load_after array('collection' => $this) mage tax tax_rate_data_fetch array('request'=>$this) mage tax tax_settings_change_after' mage tax tax_settings_change_after' mage tax tax_settings_change_after' mage tax tax_settings_change_after' mage tax tax_settings_change_after' mage wishlist wishlist_add_product array('wishlist'=>$wishlist, 'product'=>$product) mage wishlist wishlist_share array('wishlist'=>$wishlist)


http://www.ngui.cc/el/5126669.html

相关文章

magento--12--24--2010

今天周五了,明天休息,算是周末,看看这周学到什么了。 magento库文件lib下面的varien的库文件---作为应用其他第三方库文件的入口文件。 magento的门户文件mage.php,通过一些例子,慢慢推敲。 magento功能和文件结构的…

获取数据!!

1magnto获取当前店铺和店铺配置的方法 开发中常常用到获取当前店铺的id或者获取当前店铺的配置。其实非常的简单,看代码: 1、获取店铺 $store mage::app()->getstore();你可以print一下$store,它是mage_core_model_store对象ÿ…

magento ----后台grid模块的加载 --以news插件为例个人分析(一)

后台grid后台加载过程 以插件news为例: 个人分析,不保证没有分析错误的地方!! 前面的菜单的生成过程就不写了。 1。访问地址:index.php/admin/profile/adminhtml_profile/news/ 访问richardmason/profile/controll…

站长制定网站的seo策略步骤

站长制定网站的seo策略步骤 收藏 在网站上线前,seo是必不可少的一个重点,但很多网站都没有详细的规划过如何开始动手做seo,其实不管是大网站也好,小网站也罢,制定一个详尽的seo计划是尤为重要的。 一、关键词的分析 网…

解析百度11位现象和网站作弊降权

解析百度11位现象和网站作弊降权 百度11位现象:网站多个主要关健字排名由原来的尊龙凯时官方首页前几位被降到第二页的11-13位,无论网站如何更新与推广,排名就一直在11-13位徘徊,不升也不降,偶尔升到尊龙凯时官方首页,但可能第二天…

站长浅谈企业网站多个关键字的优化方法

站长浅谈企业网站多个关键字的优化方法 垃圾车 相信做企业网站优化的人都遇到过一个网站同时有几个主要的关键字,并且网站优化是要同时把那几个关键字做到百度排名尊龙凯时官方首页才能够收钱的,只要一个不在就不能收钱,并且这几个关键字不是一般竞争不大…

magento-----(一)前后台url的区别分析----(二)模块的执行过程分析

本来想写成2篇,可是csdn对新号有限制,一天最多五篇,所以就把两篇写一块了! magento-----(一)前后台url的区别分析: 前序:在写模块的书写过程,一下子蹦出来一个问题&…

自定义magento系统配置

magento拥有十分强大的后台管理系统。作为一名开发人员,这套后台管理系统可以让你的用户简单直接的配置magento系统或者你创建的模块。和magento的其他功能一样,你第一次使用这套管理系统的时候可能觉得很麻烦,但是一旦你上手了,你…

magento——后台导入产品数据注意的问题

导入数据: 1:导入数据必须语言一直:最好都是英文。 2:sku的值不能重复, 3:导入前图片放在media /import目录下,路径对应好,开头/。 4:自定义属性设置好。 5ÿ…

低版本magento的一个session的bug

低版本magento的一个session的bug 今天公司的低版本magento1.3.2.4,出现了一个问题,火狐可以进入购物车页面,但是ie,谷歌,苹果浏览器都不能进入,谷歌搜索了下,下面是具体: magento ver. 1.3.…
网站地图