Magento 2 이벤트 목록 및 사용 방법
게시 됨: 2021-05-07목차
이 게시물에서는 Magento 2에서 이벤트 를 사용하는 방법을 보여 드리겠습니다. 하지만 먼저 이벤트 와 관찰자 에 대해 이해해야 합니다. Magento 2의 이벤트 및 관찰자 구현은 게시-구독 패턴을 기반으로 합니다. 이벤트 및 관찰자를 사용하여 특정 Magento 이벤트 또는 사용자 정의 이벤트에 대한 응답으로 사용자 정의 코드를 실행할 수 있습니다.
Magento의 이벤트는 무엇입니까?
이벤트 는 특정 작업이 트리거될 때 모듈에 의해 전달됩니다. 자체 이벤트 외에도 Magento를 사용하면 코드에서 전달할 수 있는 고유한 이벤트를 생성할 수 있습니다. 이벤트가 전달되면 해당 이벤트를 감시하도록 구성된 모든 관찰자에게 데이터를 전달할 수 있습니다.
Magento에서 관찰자란 무엇입니까?
관찰자 는 일반적인 동작, 성능에 영향을 미치거나 비즈니스 로직을 변경할 수 있는 특정 유형의 Magento 클래스입니다. 관찰자는 관찰하도록 구성된 이벤트가 이벤트 관리자에 의해 전달될 때마다 실행됩니다.
이제 용어를 이해했으므로 사용하도록 합시다!
1. event.xml 파일 생성
다양한 영역에 대해 event.xml 파일을 생성할 수 있습니다.
- 전역 영역: app/code/Simi/HelloWorld/etc/events.xml
- 프론트엔드 영역: app/code/Simi/HelloWorld/etc/frontend/events.xml
- 관리 영역: app/code/Simi/HelloWorld/etc/adminhtml/events.xml
<?xml 버전="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> <이벤트 이름="my_module_event_before"> <관찰자 이름="myObserverName" instance="MyCompany\MyModule\Observer\MyObserver" /> </이벤트> <이벤트 이름="my_module_event_after"> <관찰자 이름="myObserverName" instance="MyCompany\MyModule\Observer\AnotherObserver" /> </이벤트> </구성>
2. 옵저버 클래스 생성
관찰자를 만들려면 <module-root>/Observer 디렉터리 아래에 클래스 파일을 배치해야 합니다. 관찰자 클래스는 Magento\Framework\Event\ObserverInterface 를 구현하고 실행 기능을 정의해야 합니다.
다음은 기본 관찰자 클래스 구조의 예입니다.
네임스페이스 MyCompany\MyModule\Observer; Magento\Framework\Event\ObserverInterface를 사용하십시오. 클래스 MyObserver는 ObserverInterface를 구현합니다. { 공개 함수 __construct() { // 옵저버 초기화 코드... // 의존성 주입을 사용하여 이 관찰자가 필요할 수 있는 모든 클래스를 가져올 수 있습니다. } 공개 함수 실행(\Magento\Framework\Event\Observer $observer) { // 옵저버 실행 코드... } }
관찰자의 강력한 기능 중 하나는 이벤트가 전달될 때 이벤트에 전달된 매개변수를 사용할 수 있다는 것입니다.
다음은 이벤트가 전달될 때 전달된 데이터를 얻는 관찰자의 예입니다.
네임스페이스 MyCompany\MyModule\Observer; Magento\Framework\Event\ObserverInterface를 사용하십시오. 클래스 AnotherObserver는 ObserverInterface를 구현합니다. { 공개 함수 __construct() { // 옵저버 초기화 코드... // 의존성 주입을 사용하여 이 관찰자가 필요할 수 있는 모든 클래스를 가져올 수 있습니다. } 공개 함수 실행(\Magento\Framework\Event\Observer $observer) { $myEventData = $observer->getData('myEventData'); // 추가 관찰자 실행 코드... } }
이벤트 구독
events.xml 파일의 특정 이벤트를 감시하도록 관찰자를 구성할 수 있습니다.
관찰자 xml 요소에는 다음과 같은 속성이 있습니다.
- name (필수) – 이벤트 정의에 대한 관찰자의 이름입니다.
- instance (필수) – 관찰자의 정규화된 클래스 이름입니다.
- disabled – 이 관찰자가 활성 상태인지 여부를 결정합니다. 기본값은 false입니다.
- shared – 클래스의 라이프 스타일을 결정합니다. 기본값은 true입니다.
다음은 특정 이벤트를 시청하도록 관찰자를 할당하는 방법의 예입니다.
<?xml 버전="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> <이벤트 이름="my_module_event_before"> <관찰자 이름="myObserverName" instance="MyCompany\MyModule\Observer\MyObserver" /> </이벤트> <이벤트 이름="my_module_event_after"> <관찰자 이름="myObserverName" instance="MyCompany\MyModule\Observer\AnotherObserver" /> </이벤트> </구성>
관찰자 이름은 이벤트 정의별로 고유해야 합니다. 재정의를 피하기 위해 동일한 이벤트 정의에 동일한 이름을 가진 두 개의 관찰자가 있을 수 없습니다.
3. 디스패치 이벤트
Magento\Framework\Event\Manager 클래스를 사용하여 이벤트를 전달할 수 있습니다. 이 클래스는 생성자에서 종속성을 정의하여 종속성 주입을 통해 얻을 수 있습니다.
이벤트를 전달하려면 이벤트 관리자 클래스의 dispatch 함수를 호출하고 관찰자에게 제공하려는 데이터 배열과 함께 전달하려는 이벤트의 이름을 제공합니다.
다음 예제에서는 데이터 배열이 있거나 없는 이벤트를 전달하는 방법을 보여줍니다.
네임스페이스 MyCompany\MyModule; Magento\Framework\Event\ManagerInterface를 EventManager로 사용하십시오. 클래스 마이클래스 { /** * @var 이벤트매니저 */ 개인 $eventManager; 공개 함수 __construct(EventManager $eventManager) { $this->eventManager = $eventManager; } 공공 기능 무언가() { $eventData = null; // 코드... $this->eventManager->dispatch('my_module_event_before'); // $eventData를 설정하는 추가 코드... $this->eventManager->dispatch('my_module_event_after', ['myEventData' => $eventData]); } }
Magento 2 이벤트 목록
파일 | 이벤트 이름 |
앱/코드/마젠토/Authorizenet/Controller/Directpost/Payment/Place.php | checkout_directpost_place주문 |
app/code/Magento/Backend/Block/System/Store/Edit/AbstractForm.php | adminhtml_store_edit_form_prepare_form |
앱/코드/Magento/Backend/Block/Template.php | adminhtml_block_html_before |
앱/코드/마젠토/백엔드/블록/위젯/Grid.php | backend_block_widget_grid_prepare_grid_before |
앱/코드/마젠토/백엔드/콘솔/명령/CacheCleanCommand.php | adminhtml_cache_flush_system |
앱/코드/마젠토/백엔드/콘솔/명령/CacheFlushCommand.php | adminhtml_cache_flush_all |
앱/코드/Magento/Backend/Controller/Adminhtml/Cache/CleanImages.php | clean_catalog_images_cache_after |
앱/코드/Magento/Backend/Controller/Adminhtml/Cache/CleanMedia.php | clean_media_cache_after |
앱/코드/Magento/Backend/Controller/Adminhtml/Cache/CleanStaticFiles.php | clean_static_files_cache_after |
앱/코드/Magento/Backend/Controller/Adminhtml/Cache/FlushAll.php | adminhtml_cache_flush_all |
앱/코드/Magento/Backend/Controller/Adminhtml/Cache/FlushSystem.php | adminhtml_cache_flush_system |
앱/코드/Magento/Backend/Controller/Adminhtml/System/Design/Save.php | theme_save_after |
앱/코드/Magento/Backend/Controller/Adminhtml/System/Store/DeleteStorePost.php | store_delete |
app/code/Magento/module-backend/Controller/Adminhtml/System/Store/Save.php | store_edit |
app/code/Magento/module-backend/Controller/Adminhtml/System/Store/Save.php | store_add |
앱/코드/Magento/Backend/Controller/Adminhtml/System/Store/Save.php | store_group_save |
앱/코드/Magento/Backend/Controller/Adminhtml/System/Store/Save.php | NO_MATCH |
앱/코드/마젠토/백엔드/모델/Auth.php | backend_auth_user_login_success |
앱/코드/마젠토/백엔드/모델/Auth.php | backend_auth_user_login_failed |
앱/코드/마젠토/백엔드/모델/Auth.php | backend_auth_user_login_failed |
app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php | catalog_product_option_price_configuration_after |
앱/코드/마젠토/번들/모델/제품/가격.php | prepare_catalog_product_collection_prices |
앱/코드/마젠토/번들/모델/제품/가격.php | catalog_product_get_final_price |
앱/코드/마젠토/번들/모델/제품/가격.php | catalog_product_get_final_price |
앱/코드/Magento/Bundle/Model/ResourceModel/Indexer/Price.php | catalog_product_prepare_index_select |
앱/코드/Magento/Bundle/Pricing/Price/BundleSelectionPrice.php | catalog_product_get_final_price |
app/code/Magento/Catalog/Block/Adminhtml/Category/Tab/Attributes.php | adminhtml_catalog_category_edit_prepare_form |
앱/코드/Magento/Catalog/Block/Adminhtml/Category/Tabs.php | adminhtml_catalog_category_tabs |
앱/코드/Magento/Catalog/Block/Adminhtml/Category/Tree.php | adminhtml_catalog_category_tree_is_moveable |
앱/코드/Magento/Catalog/Block/Adminhtml/Category/Tree.php | adminhtml_catalog_category_tree_can_add_root_category |
앱/코드/Magento/Catalog/Block/Adminhtml/Category/Tree.php | adminhtml_catalog_category_tree_can_add_sub_category |
app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Advanced.php | product_attribute_form_build |
app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php | product_attribute_form_build_front_tab |
app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Front.php | adminhtml_catalog_product_attribute_edit_frontend_prepare_form |
app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php | adminhtml_product_attribute_types |
app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Edit/Tab/Main.php | product_attribute_form_build_main_tab |
app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Grid.php | product_attribute_grid_build |
app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Attributes.php | adminhtml_catalog_product_edit_prepare_form |
app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/NewAttribute/Product/Attributes.php | adminhtml_catalog_product_edit_element_types |
app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Main.php | adminhtml_catalog_product_attribute_set_main_html_before |
app/code/Magento/Catalog/Block/Adminhtml/Product/Attribute/Set/Toolbar/Main.php | adminhtml_catalog_product_attribute_set_toolbar_main_html_before |
app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Action/Attribute/Tab/Attributes.php | adminhtml_catalog_product_form_prepare_excluded_field_list |
app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes/Create.php | adminhtml_catalog_product_edit_tab_attributes_create_html_before |
app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes.php | adminhtml_catalog_product_edit_prepare_form |
app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Attributes.php | adminhtml_catalog_product_edit_element_types |
앱/코드/Magento/Catalog/Block/Adminhtml/Product/Grid.php | adminhtml_catalog_product_grid_prepare_massaction |
app/code/Magento/Catalog/Block/Adminhtml/Product/Helper/Form/Gallery/Content.php | catalog_product_gallery_prepare_layout |
앱/코드/Magento/Catalog/Block/Product/AbstractProduct.php | catalog_block_product_status_display |
앱/코드/Magento/Catalog/Block/Product/ListProduct.php | catalog_block_product_list_collection |
앱/코드/Magento/Catalog/Block/Product/ProductList/Upsell.php | 카탈로그_제품_업셀 |
app/code/Magento/Catalog/Block/Product/View/Options.php | catalog_product_option_price_configuration_after |
앱/코드/Magento/Catalog/Block/Product/View.php | catalog_product_view_config |
앱/코드/Magento/Catalog/Block/Rss/Category.php | rss_catalog_category_xml_callback |
앱/코드/Magento/Catalog/Block/Rss/Product/NewProducts.php | rss_catalog_new_xml_callback |
앱/코드/Magento/Catalog/Block/Rss/Product/Special.php | rss_catalog_special_xml_callback |
앱/코드/Magento/Catalog/Block/ShortcutButtons.php | 바로 가기_버튼_컨테이너 |
앱/코드/Magento/Catalog/Controller/Adminhtml/Category/Delete.php | catalog_controller_category_delete |
앱/코드/Magento/Catalog/Controller/Adminhtml/Category/Edit.php | category_prepare_ajax_response |
앱/코드/Magento/Catalog/Controller/Adminhtml/Category/Save.php | catalog_category_prepare_save |
app/code/Magento/Catalog/Controller/Adminhtml/Product/Action/Attribute/Save.php | catalog_product_to_website_change |
앱/코드/마젠토/카탈로그/컨트롤러/Adminhtml/제품/편집.php | catalog_product_edit_action |
앱/코드/Magento/Catalog/Controller/Adminhtml/Product/Gallery/Upload.php | catalog_product_gallery_upload_image_after |
앱/코드/Magento/Catalog/Controller/Adminhtml/Product/NewAction.php | catalog_product_new_action |
앱/코드/Magento/Catalog/Controller/Adminhtml/Product/Save.php | controller_action_catalog_product_save_entity_after |
앱/코드/Magento/Catalog/Controller/Category/View.php | catalog_controller_category_init_after |
앱/코드/마젠토/카탈로그/컨트롤러/제품/비교/Add.php | catalog_product_compare_add_product |
앱/코드/마젠토/카탈로그/컨트롤러/제품/비교/제거.php | catalog_product_compare_remove_product |
앱/코드/Magento/Catalog/Helper/Product/View.php | catalog_controller_product_view |
앱/코드/Magento/Catalog/Helper/Product.php | catalog_controller_product_init_before |
앱/코드/Magento/Catalog/Helper/Product.php | catalog_controller_product_init_after |
앱/코드/Magento/Catalog/Model/Category.php | _이동하기 전에 |
앱/코드/Magento/Catalog/Model/Category.php | _이동 후 |
앱/코드/Magento/Catalog/Model/Category.php | 카테고리 이동 |
앱/코드/마젠토/카탈로그/모델/제품/액션.php | catalog_product_attribute_update_before |
앱/코드/마젠토/카탈로그/모델/제품/속성/소스/입력 유형.php | adminhtml_product_attribute_types |
앱/코드/마젠토/카탈로그/모델/제품/유형/AbstractType.php | catalog_product_type_prepare_%s_options |
앱/코드/마젠토/카탈로그/모델/제품/유형/AbstractType.php | NO_MATCH |
앱/코드/마젠토/카탈로그/모델/제품/유형/가격.php | catalog_product_get_final_price |
앱/코드/마젠토/카탈로그/모델/제품.php | _validate_before |
앱/코드/마젠토/카탈로그/모델/제품.php | _validate_after |
앱/코드/마젠토/카탈로그/모델/제품.php | catalog_product_is_saleable_before |
앱/코드/마젠토/카탈로그/모델/제품.php | catalog_product_is_saleable_after |
앱/코드/Magento/Catalog/Model/ResourceModel/Category/Collection.php | _load_before |
앱/코드/Magento/Catalog/Model/ResourceModel/Category/Collection.php | _load_after |
앱/코드/Magento/Catalog/Model/ResourceModel/Category/Collection.php | _add_is_active_filter |
앱/코드/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php | _load_before |
앱/코드/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php | _load_after |
앱/코드/Magento/Catalog/Model/ResourceModel/Category/Flat/Collection.php | _add_is_active_filter |
app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php | catalog_category_tree_init_inactive_category_ids |
app/code/Magento/Catalog/Model/ResourceModel/Category/Flat.php | catalog_category_flat_loadnodes_before |
앱/코드/Magento/Catalog/Model/ResourceModel/Category/Tree.php | catalog_category_tree_init_inactive_category_ids |
앱/코드/Magento/Catalog/Model/ResourceModel/Category.php | catalog_category_change_products |
앱/코드/Magento/Catalog/Model/ResourceModel/Category.php | catalog_category_delete_after_done |
앱/코드/마젠토/카탈로그/모델/리소스 모델/제품/컬렉션.php | catalog_prepare_price_select |
앱/코드/마젠토/카탈로그/모델/리소스 모델/제품/컬렉션.php | catalog_product_collection_load_after |
앱/코드/마젠토/카탈로그/모델/리소스 모델/제품/컬렉션.php | catalog_product_collection_before_add_count_to_categories |
앱/코드/마젠토/카탈로그/모델/리소스 모델/제품/컬렉션.php | catalog_product_collection_apply_limitations_after |
app/code/Magento/Catalog/Model/ResourceModel/Product/Compare/Item/Collection.php | catalog_product_compare_item_collection_clear |
앱/코드/마젠토/카탈로그/모델/리소스 모델/제품/인덱서/Eav/AbstractEav.php | 준비_카탈로그_제품_색인_선택 |
app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Decimal.php | 준비_카탈로그_제품_색인_선택 |
app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php | 준비_카탈로그_제품_색인_선택 |
app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Eav/Source.php | 준비_카탈로그_제품_색인_선택 |
app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/DefaultPrice.php | 준비_카탈로그_제품_색인_선택 |
앱/코드/마젠토/카탈로그/모델/리소스 모델/제품.php | catalog_product_delete_after_done |
앱/코드/마젠토/카탈로그/모델/리소스 모델/제품/컬렉션.php | catalog_prepare_price_select |
앱/코드/마젠토/카탈로그/모델/Rss/제품/NotifyStock.php | rss_catalog_notify_stock_collection_select |
app/code/Magento/Catalog/Plugin/Model/Product/Action/UpdateAttributesFlushCache.php | clean_cache_by_tags |
앱/코드/Magento/CatalogImportExport/Model/Import/Product.php | catalog_product_import_bunch_delete_after |
앱/코드/Magento/CatalogImportExport/Model/Import/Product.php | catalog_product_import_finish_before |
앱/코드/Magento/CatalogImportExport/Model/Import/Product.php | catalog_product_import_bunch_save_after |
앱/코드/Magento/CatalogImportExport/Model/Import/Product.php | catalog_product_import_bunch_delete_commit_before |
앱/코드/Magento/CatalogImportExport/Model/Import/Product.php | catalog_product_import_bunch_delete_commit_after |
앱/코드/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Index.php | catalogrule_dirty_notice |
앱/코드/Magento/CatalogInventory/Model/Indexer/Stock/AbstractAction.php | clean_cache_by_tags |
app/code/Magento/CatalogRule/Block/Adminhtml/Promo/Catalog/Edit/Tab/Main.php | adminhtml_promo_catalog_edit_tab_main_prepare_form |
앱/코드/Magento/CatalogRule/Controller/Adminhtml/Promo/Catalog/Save.php | adminhtml_controller_catalogrule_prepare_save |
앱/코드/Magento/CatalogRule/Model/Indexer/AbstractIndexer.php | clean_cache_by_tags |
app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/DataProvider.php | catelogsearch_searchable_attributes_load_after |
app/code/Magento/CatalogSearch/Model/Indexer/Fulltext/Action/Full.php | catelogsearch_searchable_attributes_load_after |
app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext.php | 카탈로그검색_재설정_검색_결과 |
app/code/Magento/Checkout/Block/QuoteShortcutButtons.php | 바로 가기_버튼_컨테이너 |
앱/코드/마젠토/체크아웃/컨트롤러/카트/Add.php | checkout_cart_add_product_complete |
앱/코드/마젠토/체크아웃/컨트롤러/카트/UpdateItemOptions.php | checkout_cart_update_item_complete |
앱/코드/Magento/Checkout/Controller/Onepage/SaveOrder.php | checkout_controller_onepage_saveOrder |
앱/코드/마젠토/체크아웃/컨트롤러/Onepage/Success.php | checkout_onepage_controller_success_action |
앱/코드/마젠토/체크아웃/도우미/Data.php | checkout_allow_guest |
앱/코드/마젠토/체크아웃/모델/카트.php | checkout_cart_product_add_after |
앱/코드/마젠토/체크아웃/모델/카트.php | checkout_cart_update_items_before |
앱/코드/마젠토/체크아웃/모델/카트.php | checkout_cart_update_items_after |
앱/코드/마젠토/체크아웃/모델/카트.php | checkout_cart_save_before |
앱/코드/마젠토/체크아웃/모델/카트.php | checkout_cart_save_after |
앱/코드/마젠토/체크아웃/모델/카트.php | checkout_cart_product_update_after |
앱/코드/마젠토/체크아웃/모델/세션.php | custom_quote_process |
앱/코드/마젠토/체크아웃/모델/세션.php | checkout_quote_init |
앱/코드/마젠토/체크아웃/모델/세션.php | load_customer_quote_before |
앱/코드/마젠토/체크아웃/모델/세션.php | checkout_quote_destroy |
앱/코드/마젠토/체크아웃/모델/세션.php | 복원_인용 |
앱/코드/마젠토/체크아웃/모델/유형/Onepage.php | checkout_type_onepage_save_order_after |
앱/코드/마젠토/체크아웃/모델/유형/Onepage.php | checkout_submit_all_after |
앱/코드/Magento/Cms/Block/Adminhtml/Page/Edit/Tab/Content.php | adminhtml_cms_page_edit_tab_content_prepare_form |
앱/코드/Magento/Cms/Block/Adminhtml/Page/Edit/Tab/Design.php | adminhtml_cms_page_edit_tab_design_prepare_form |
앱/코드/마젠토/Cms/Block/Adminhtml/Page/Edit/Tab/Main.php | adminhtml_cms_page_edit_tab_main_prepare_form |
앱/코드/Magento/Cms/Block/Adminhtml/Page/Edit/Tab/Meta.php | adminhtml_cms_page_edit_tab_meta_prepare_form |
앱/코드/Magento/Cms/Controller/Adminhtml/Page/Delete.php | adminhtml_cmspage_on_delete |
앱/코드/Magento/Cms/Controller/Adminhtml/Page/Delete.php | adminhtml_cmspage_on_delete |
앱/코드/Magento/Cms/Controller/Adminhtml/Page/Save.php | cms_page_prepare_save |
앱/코드/마젠토/Cms/컨트롤러/라우터.php | cms_controller_router_match_before |
앱/코드/마젠토/Cms/도우미/페이지.php | cms_page_render |
앱/코드/Magento/Cms/Helper/Wysiwyg/Images.php | cms_wysiwyg_images_static_urls_allowed |
app/code/Magento/Config/Block/System/Config/Form/Fieldset/Modules/DisableOutput.php | adminhtml_system_config_advanced_disableoutput_render_before |
앱/코드/마젠토/구성/모델/구성.php | NO_MATCH |
app/code/Magento/ConfigurableProduct/Model/Product/Validator/Plugin.php | catalog_product_validate_variations_before |
앱/코드/마젠토/쿠키/컨트롤러/인덱스/NoCookies.php | controller_action_nocookies |
앱/코드/Magento/CurrencySymbol/Model/System/Currencysymbol.php | admin_system_config_changed_section_currency_before_reinit |
앱/코드/Magento/CurrencySymbol/Model/System/Currencysymbol.php | admin_system_config_changed_section_currency |
app/code/Magento/Customer/Block/Adminhtml/Edit/Tab/Carts.php | adminhtml_block_html_before |
앱/코드/마젠토/고객/컨트롤러/계정/CreatePost.php | 고객 등록 성공 |
앱/코드/마젠토/고객/컨트롤러/계정/EditPost.php | customer_account_edited |
앱/코드/Magento/Customer/Controller/Adminhtml/Index/Save.php | adminhtml_customer_prepare_save |
앱/코드/Magento/Customer/Controller/Adminhtml/Index/Save.php | adminhtml_customer_save_after |
앱/코드/마젠토/고객/모델/계정 관리.php | customer_customer_authenticated |
앱/코드/마젠토/고객/모델/계정 관리.php | customer_data_object_login |
앱/코드/마젠토/고객/모델/주소/AbstractAddress.php | 고객 주소 형식 |
앱/코드/마젠토/고객/모델/고객.php | customer_customer_authenticated |
앱/코드/마젠토/고객/모델/고객.php | customer_validate |
app/code/Magento/Customer/Model/ResourceModel/CustomerRepository.php | customer_save_after_data_object |
앱/코드/마젠토/고객/모델/세션.php | customer_session_init |
앱/코드/마젠토/고객/모델/세션.php | 고객_로그인 |
앱/코드/마젠토/고객/모델/세션.php | customer_data_object_login |
앱/코드/마젠토/고객/모델/세션.php | 고객_로그인 |
앱/코드/마젠토/고객/모델/세션.php | customer_data_object_login |
앱/코드/마젠토/고객/모델/세션.php | 고객 로그아웃 |
앱/코드/마젠토/고객/모델/방문자.php | 방문자_초기화 |
앱/코드/마젠토/고객/모델/방문자.php | 방문자_활동_저장 |
app/code/Magento/Eav/Block/Adminhtml/Attribute/Edit/Main/AbstractMain.php | adminhtml_block_eav_attribute_edit_form_init |
앱/코드/Magento/Eav/Model/Entity/Collection/AbstractCollection.php | eav_collection_abstract_load_before |
앱/코드/Magento/GiftMessage/Block/Message/Inline.php | gift_options_prepare_items |
app/code/Magento/GroupedProduct/Model/ResourceModel/Product/Indexer/Price/Grouped.php | catalog_product_prepare_index_select |
앱/코드/마젠토/인덱서/모델/프로세서/InvalidateCache.php | clean_cache_after_reindex |
앱/코드/Magento/Multishipping/Controller/Checkout/ShippingPost.php | checkout_controller_multishipping_shipping_post |
앱/코드/Magento/Multishipping/Controller/Checkout/Success.php | multishipping_checkout_controller_success_action |
app/code/Magento/Multishipping/Model/Checkout/Type/Multishipping.php | checkout_type_multishipping_set_shipping_items |
app/code/Magento/Multishipping/Model/Checkout/Type/Multishipping.php | checkout_type_multishipping_create_orders_single |
app/code/Magento/Multishipping/Model/Checkout/Type/Multishipping.php | checkout_submit_all_after |
app/code/Magento/Multishipping/Model/Checkout/Type/Multishipping.php | checkout_multishipping_refund_all |
앱/코드/마젠토/페이지캐시/모델/캐시/Type.php | adminhtml_cache_refresh_type |
앱/코드/마젠토/페이지캐시/모델/레이아웃/DepersonalizePlugin.php | depersonalize_clear_session |
앱/코드/Magento/Payment/Block/Form/Cc.php | payment_form_block_to_html_before |
앱/코드/마젠토/결제/모델/카트.php | payment_cart_collect_items_and_amounts |
앱/코드/마젠토/결제/모델/메소드/AbstractMethod.php | 지불 방법_is_active |
앱/코드/마젠토/결제/모델/메소드/Adapter.php | 지불 방법_is_active |
앱/코드/마젠토/결제/모델/메소드/Adapter.php | 지불 방법_assign_data_ |
앱/코드/마젠토/페이팔/컨트롤러/익스프레스/AbstractExpress/PlaceOrder.php | paypal_express_place_order_success |
앱/코드/Magento/Persistent/Controller/Index/UnsetCookie.php | 지속적_세션_만료 |
앱/코드/Magento/Persistent/Observer/CheckExpirePersistentQuoteObserver.php | 지속적_세션_만료 |
app/code/Magento/Quote/Model/Cart/Totals/ItemConverter.php | 항목_추가_데이터 |
앱/코드/마젠토/인용/모델/인용/주소/ToOrder.php | sales_convert_quote_to_order |
앱/코드/Magento/Quote/Model/Quote/Item.php | sales_quote_item_qty_set_after |
앱/코드/Magento/Quote/Model/Quote/Item.php | sales_quote_item_set_product |
앱/코드/Magento/Quote/Model/Quote/Payment.php | _import_data_before |
앱/코드/Magento/Quote/Model/Quote/TotalsCollector.php | sales_quote_collect_totals_before |
앱/코드/Magento/Quote/Model/Quote/TotalsCollector.php | sales_quote_collect_totals_after |
앱/코드/Magento/Quote/Model/Quote/TotalsCollector.php | sales_quote_address_collect_totals_before |
앱/코드/Magento/Quote/Model/Quote/TotalsCollector.php | sales_quote_address_collect_totals_after |
앱/코드/Magento/Quote/Model/Quote.php | sales_quote_remove_item |
앱/코드/Magento/Quote/Model/Quote.php | sales_quote_add_item |
앱/코드/Magento/Quote/Model/Quote.php | sales_quote_product_add_after |
앱/코드/Magento/Quote/Model/Quote.php | _merge_before |
앱/코드/Magento/Quote/Model/Quote.php | _merge_after |
앱/코드/Magento/Quote/Model/QuoteManagement.php | checkout_submit_before |
앱/코드/Magento/Quote/Model/QuoteManagement.php | checkout_submit_all_after |
앱/코드/Magento/Quote/Model/QuoteManagement.php | sales_model_service_quote_submit_before |
앱/코드/Magento/Quote/Model/QuoteManagement.php | sales_model_service_quote_submit_success |
앱/코드/Magento/Quote/Model/QuoteManagement.php | sales_model_service_quote_submit_failure |
app/code/Magento/Quote/Model/ResourceModel/Quote/Address/Collection.php | _load_after |
app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Collection.php | prepare_catalog_product_collection_prices |
app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Collection.php | sales_quote_item_collection_products_after_load |
앱/코드/Magento/Reports/Block/Adminhtml/Grid.php | adminhtml_widget_grid_filter_collection |
app/code/Magento/Reports/Model/ResourceModel/Order/Collection.php | sales_prepare_amount_expression |
앱/코드/마젠토/리뷰/컨트롤러/제품.php | review_controller_product_init_before |
앱/코드/마젠토/리뷰/컨트롤러/제품.php | review_controller_product_init |
앱/코드/마젠토/리뷰/컨트롤러/제품.php | review_controller_product_init_after |
app/code/Magento/Review/Model/ResourceModel/Rating/Collection.php | Rating_rating_collection_load_before |
앱/코드/마젠토/리뷰/모델/리소스모델/리뷰/컬렉션.php | review_review_collection_load_before |
앱/코드/마젠토/리뷰/모델/Rss.php | rss_catalog_review_collection_select |
app/code/Magento/Sales/Block/Adminhtml/Reorder/Renderer/Action.php | adminhtml_customer_orders_add_action_renderer |
앱/코드/Magento/Sales/Controller/Adminhtml/Order/AddressSave.php | admin_sales_order_address_update |
앱/코드/Magento/Sales/Controller/Adminhtml/Order/Create.php | adminhtml_sales_order_create_process_data_before |
앱/코드/Magento/Sales/Controller/Adminhtml/Order/Create.php | adminhtml_sales_order_create_process_data |
앱/코드/Magento/Sales/Controller/Adminhtml/Order/CreditmemoLoader.php | adminhtml_sales_order_creditmemo_register_before |
앱/코드/Magento/Sales/Model/AdminOrder/Create.php | sales_convert_order_to_quote |
앱/코드/Magento/Sales/Model/AdminOrder/Create.php | sales_convert_order_item_to_quote_item |
앱/코드/Magento/Sales/Model/AdminOrder/Create.php | checkout_submit_all_after |
app/code/Magento/Sales/Model/Config/Backend/Email/AsyncSending.php | sales_email_general_async_sending |
앱/코드/마젠토/판매/모델/구성/백엔드/그리드/AsyncIndexing.php | dev_grid_async_indexing |
앱/코드/마젠토/판매/모델/주문/주소/Renderer.php | 고객 주소 형식 |
앱/코드/Magento/Sales/Model/Order/Email/Sender/CreditmemoCommentSender.php | email_creditmemo_comment_set_template_vars_before |
앱/코드/Magento/Sales/Model/Order/Email/Sender/CreditmemoSender.php | email_creditmemo_set_template_vars_before |
app/code/Magento/Sales/Model/Order/Email/Sender/InvoiceCommentSender.php | email_invoice_comment_set_template_vars_before |
앱/코드/Magento/Sales/Model/Order/Email/Sender/InvoiceSender.php | email_invoice_set_template_vars_before |
앱/코드/Magento/Sales/Model/Order/Email/Sender/OrderCommentSender.php | email_order_comment_set_template_vars_before |
앱/코드/Magento/Sales/Model/Order/Email/Sender/OrderSender.php | email_order_set_template_vars_before |
앱/코드/Magento/Sales/Model/Order/Email/Sender/ShipmentCommentSender.php | email_shipment_comment_set_template_vars_before |
앱/코드/Magento/Sales/Model/Order/Email/Sender/ShipmentSender.php | email_shipment_set_template_vars_before |
앱/코드/Magento/Sales/Model/Order/Invoice.php | sales_order_invoice_pay |
앱/코드/Magento/Sales/Model/Order/Invoice.php | 판매 주문_송장_취소 |
앱/코드/Magento/Sales/Model/Order/Invoice.php | 판매 주문_송장_등록 |
앱/코드/마젠토/판매/모델/주문/항목.php | sales_order_item_cancel |
앱/코드/Magento/Sales/Model/Order/Payment/Operations/CaptureOperation.php | sales_order_payment_capture |
앱/코드/마젠토/판매/모델/주문.php | sales_order_load_after |
앱/코드/마젠토/판매/모델/주문.php | sales_order_save_before |
앱/코드/마젠토/판매/모델/주문.php | sales_order_save_after |
앱/코드/마젠토/판매/모델/주문.php | sales_order_delete_before |
앱/코드/마젠토/판매/모델/주문.php | sales_order_invoice_load_after |
앱/코드/마젠토/판매/모델/주문.php | sales_order_invoice_load_before |
앱/코드/마젠토/판매/모델/주문.php | sales_order_shipment_load_after |
앱/코드/마젠토/판매/모델/주문.php | sales_order_shipment_load_before |
앱/코드/마젠토/판매/모델/주문.php | sales_order_creditmemo_load_after |
앱/코드/마젠토/판매/모델/주문.php | sales_order_creditmemo_load_before |
앱/코드/마젠토/판매/모델/주문.php | sales_order_grid_collection_load_before |
앱/코드/Magento/Sales/Observer/GridSyncInsertObserver.php | sales_order_invoice_save_after |
앱/코드/Magento/Sales/Observer/GridSyncInsertObserver.php | sales_order_shipment_save_after |
앱/코드/Magento/Sales/Observer/GridSyncInsertObserver.php | sales_order_creditmemo_save_after |
앱/코드/마젠토/판매/모델/주문/결제/트랜잭션.php | _html_txn_id |
앱/코드/Magento/Sales/Model/Order/Payment.php | sales_order_payment_place_start |
앱/코드/Magento/Sales/Model/Order/Payment.php | sales_order_payment_place_end |
앱/코드/Magento/Sales/Model/Order/Payment.php | sales_order_payment_pay |
앱/코드/Magento/Sales/Model/Order/Payment.php | sales_order_payment_cancel_invoice |
앱/코드/Magento/Sales/Model/Order/Payment.php | sales_order_payment_void |
앱/코드/Magento/Sales/Model/Order/Payment.php | 판매_주문_결제_환불 |
앱/코드/Magento/Sales/Model/Order/Payment.php | sales_order_payment_cancel_creditmemo |
앱/코드/Magento/Sales/Model/Order/Payment.php | 판매_주문_결제_취소 |
앱/코드/Magento/Sales/Model/Order/Status.php | sales_order_status_unassign |
앱/코드/마젠토/판매/모델/주문.php | sales_order_place_before |
앱/코드/마젠토/판매/모델/주문.php | sales_order_place_after |
앱/코드/마젠토/판매/모델/주문.php | order_cancel_after |
앱/코드/Magento/Sales/Model/ResourceModel/Attribute.php | _save_attribute_before |
앱/코드/Magento/Sales/Model/ResourceModel/Attribute.php | _save_attribute_after |
app/code/Magento/Sales/Model/ResourceModel/Order/Address/Collection.php | _load_after |
앱/코드/Magento/Sales/Model/ResourceModel/Order/Collection/AbstractCollection.php | _set_sales_order |
앱/코드/Magento/Sales/Model/ResourceModel/Sale/Collection.php | sales_sale_collection_query_before |
앱/코드/마젠토/판매/모델/Rss/NewOrder.php | rss_order_new_collection_select |
앱/코드/Magento/Sales/Model/Service/CreditmemoService.php | sales_order_creditmemo_cancel |
앱/코드/Magento/Sales/Model/Service/CreditmemoService.php | sales_order_creditmemo_refund |
앱/코드/마젠토/판매/모델/서비스/OrderService.php | sales_order_state_change_before |
app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote/Edit/Tab/Actions.php | adminhtml_block_salesrule_actions_prepareform |
app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote/Edit/Tab/Coupons/Form.php | adminhtml_promo_quote_edit_tab_coupons_form_prepare_form |
app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote/Edit/Tab/Main.php | adminhtml_promo_quote_edit_tab_main_prepare_form |
앱/코드/Magento/SalesRule/Block/Adminhtml/Promo/Widget/Chooser.php | adminhtml_block_promo_widget_chooser_prepare_collection |
앱/코드/Magento/SalesRule/Controller/Adminhtml/Promo/Quote/Save.php | adminhtml_controller_salesrule_prepare_save |
앱/코드/Magento/SalesRule/Model/Quote/Discount.php | sales_quote_address_discount_item |
앱/코드/Magento/SalesRule/Model/Quote/Discount.php | sales_quote_address_discount_item |
앱/코드/Magento/SalesRule/Model/Rule/Condition/Combine.php | salesrule_rule_condition_combine |
앱/코드/Magento/SalesRule/Model/Rule.php | salesrule_rule_get_coupon_types |
앱/코드/Magento/SalesRule/Model/RulesApplier.php | salesrule_validator_process |
앱/코드/마젠토/검색/컨트롤러/Adminhtml/Term/Report.php | on_view_report |
앱/코드/Magento/SendFriend/Controller/Product/Send.php | sendfriend_product |
앱/코드/Magento/Store/Model/Address/Renderer.php | store_address_format |
앱/코드/마젠토/견본/컨트롤러/Adminhtml/Iframe/Show.php | swatch_gallery_upload_image_after |
앱/코드/Magento/Tax/Controller/Adminhtml/Tax/IgnoreTaxNotification.php | adminhtml_cache_refresh_type |
app/code/Magento/Tax/Model/Calculation/Rate.php | tax_settings_change_after |
app/code/Magento/Tax/Model/Calculation/Rate.php | tax_settings_change_after |
app/code/Magento/Tax/Model/Calculation/Rate.php | tax_settings_change_after |
앱/코드/마젠토/세금/모델/계산/Rule.php | tax_settings_change_after |
앱/코드/마젠토/세금/모델/계산/Rule.php | tax_settings_change_after |
앱/코드/마젠토/세금/모델/Calculation.php | tax_rate_data_fetch |
앱/코드/마젠토/테마/블록/Html/Topmenu.php | page_block_html_topmenu_gethtml_before |
앱/코드/마젠토/테마/블록/Html/Topmenu.php | page_block_html_topmenu_gethtml_after |
앱/코드/마젠토/테마/모델/Config.php | assign_theme_to_stores_after |
앱/코드/Magento/Theme/Observer/CheckThemeIsAssignedObserver.php | Assigned_theme_changed |
앱/코드/Magento/Theme/Setup/InstallData.php | theme_registration_from_filesystem |
앱/코드/Magento/User/Block/Role.php | permission_role_html_before |
앱/코드/Magento/User/Controller/Adminhtml/User/Role/SaveRole.php | admin_permissions_role_prepare_save |
앱/코드/마젠토/사용자/모델/사용자.php | admin_user_authenticate_before |
앱/코드/마젠토/사용자/모델/사용자.php | admin_user_authenticate_after |
앱/코드/Magento/Wishlist/Block/Customer/Wishlist/Item/Options.php | product_option_renderer_init |
앱/코드/마젠토/위시리스트/컨트롤러/인덱스/Add.php | Wishlist_add_product |
앱/코드/Magento/Wishlist/Controller/Index/Send.php | 위시리스트_공유 |
앱/코드/Magento/Wishlist/Controller/Index/UpdateItemOptions.php | Wishlist_update_item |
앱/코드/마젠토/위시리스트/도우미/Data.php | Wishlist_items_renewed |
앱/코드/Magento/Wishlist/Model/ResourceModel/Item/Collection.php | Wishlist_item_collection_products_after_load |
앱/코드/Magento/Wishlist/Model/Rss/Wishlist.php | rss_wishlist_xml_콜백 |
앱/코드/Magento/Wishlist/Model/Wishlist.php | Wishlist_add_item |
앱/코드/Magento/Wishlist/Model/Wishlist.php | Wishlist_product_add_after |
라이브러리/내부/마젠토/프레임워크/앱/액션/액션.php | controller_action_predispatch |
라이브러리/내부/마젠토/프레임워크/앱/액션/액션.php | controller_action_predispatch_ |
라이브러리/내부/마젠토/프레임워크/앱/액션/액션.php | controller_action_predispatch_ |
라이브러리/내부/마젠토/프레임워크/앱/액션/액션.php | controller_action_postdispatch_ |
라이브러리/내부/마젠토/프레임워크/앱/액션/액션.php | controller_action_postdispatch_ |
라이브러리/내부/마젠토/프레임워크/앱/액션/액션.php | controller_action_postdispatch |
lib/internal/Magento/Framework/App/Cron.php | 기본 |
lib/internal/Magento/Framework/App/FrontController.php | NO_MATCH |
라이브러리/내부/마젠토/프레임워크/앱/Http.php | NO_MATCH |
라이브러리/내부/마젠토/프레임워크/앱/Http.php | controller_front_send_response_before |
lib/internal/Magento/Framework/App/View.php | controller_action_layout_render_before |
lib/internal/Magento/Framework/App/View.php | controller_action_layout_render_before_ |
lib/internal/Magento/Framework/Controller/Noroute/Index.php | controller_action_noroute |
lib/internal/Magento/Framework/Data/AbstractSearchResult.php | abstract_search_result_load_before |
lib/internal/Magento/Framework/Data/AbstractSearchResult.php | _load_before |
lib/internal/Magento/Framework/Data/AbstractSearchResult.php | abstract_search_result_load_after |
lib/internal/Magento/Framework/Data/AbstractSearchResult.php | _load_after |
lib/internal/Magento/Framework/DataObject/Copy.php | NO_MATCH |
lib/internal/Magento/Framework/Event/Collection.php | NO_MATCH |
lib/internal/Magento/Framework/Event/Manager.php | NO_MATCH |
lib/internal/Magento/Framework/Event/Observer/Collection.php | NO_MATCH |
lib/internal/Magento/Framework/Event.php | NO_MATCH |
lib/internal/Magento/Framework/Locale/Currency.php | currency_display_options_forming |
lib/internal/Magento/Framework/Message/Manager.php | session_abstract_clear_messages |
lib/internal/Magento/Framework/Message/Manager.php | session_abstract_add_message |
lib/internal/Magento/Framework/Model/AbstractModel.php | model_load_before |
lib/internal/Magento/Framework/Model/AbstractModel.php | _load_before |
lib/internal/Magento/Framework/Model/AbstractModel.php | model_load_after |
lib/internal/Magento/Framework/Model/AbstractModel.php | _load_after |
lib/internal/Magento/Framework/Model/AbstractModel.php | model_save_commit_after |
lib/internal/Magento/Framework/Model/AbstractModel.php | _save_commit_after |
lib/internal/Magento/Framework/Model/AbstractModel.php | model_save_before |
lib/internal/Magento/Framework/Model/AbstractModel.php | _save_before |
lib/internal/Magento/Framework/Model/AbstractModel.php | model_save_after |
lib/internal/Magento/Framework/Model/AbstractModel.php | clean_cache_by_tags |
lib/internal/Magento/Framework/Model/AbstractModel.php | _save_after |
lib/internal/Magento/Framework/Model/AbstractModel.php | model_delete_before |
lib/internal/Magento/Framework/Model/AbstractModel.php | _delete_before |
lib/internal/Magento/Framework/Model/AbstractModel.php | model_delete_after |
lib/internal/Magento/Framework/Model/AbstractModel.php | clean_cache_by_tags |
lib/internal/Magento/Framework/Model/AbstractModel.php | _delete_after |
lib/internal/Magento/Framework/Model/AbstractModel.php | model_delete_commit_after |
lib/internal/Magento/Framework/Model/AbstractModel.php | _delete_commit_after |
lib/internal/Magento/Framework/Model/AbstractModel.php | _clear |
lib/internal/Magento/Framework/Model/ResourceModel/Db/Collection/AbstractCollection.php | core_collection_abstract_load_before |
lib/internal/Magento/Framework/Model/ResourceModel/Db/Collection/AbstractCollection.php | _load_before |
lib/internal/Magento/Framework/Model/ResourceModel/Db/Collection/AbstractCollection.php | core_collection_abstract_load_after |
lib/internal/Magento/Framework/Model/ResourceModel/Db/Collection/AbstractCollection.php | _load_after |
lib/internal/Magento/Framework/Model/ResourceModel/Db/VersionControl/RelationComposite.php | _process_relation |
lib/internal/Magento/Framework/View/Element/AbstractBlock.php | view_block_abstract_to_html_before |
lib/internal/Magento/Framework/View/Element/Messages.php | view_message_block_render_grouped_html_after |
lib/internal/Magento/Framework/View/Layout/Builder.php | layout_load_before |
lib/internal/Magento/Framework/View/Layout/Builder.php | layout_generate_blocks_before |
lib/internal/Magento/Framework/View/Layout/Builder.php | layout_generate_blocks_after |
lib/internal/Magento/Framework/View/Layout/Generator/Block.php | core_layout_block_create_after |
lib/internal/Magento/Framework/View/Layout.php | core_layout_render_element |
lib/internal/Magento/Framework/View/Result/Layout.php | layout_render_before |
lib/internal/Magento/Framework/View/Result/Layout.php | layout_render_before_ |
See also:
Magento 2에서 개발자 모드를 활성화하는 방법
Magento 2에서 제품 이미지 URL을 얻는 방법