TheliaEvents
class TheliaEvents
This class contains all Thelia events identifiers used by Thelia Core
Constants
BOOT |
sent at the beginning |
BEFORE_CREATEADDRESS |
sent once the address creation form has been successfully validated, and before address insertion in the database. |
ADDRESS_CREATE |
sent for address creation |
AFTER_CREATEADDRESS |
Sent just after a successful insert of a new address in the database. |
BEFORE_UPDATEADDRESS |
|
ADDRESS_UPDATE |
sent for address modification |
AFTER_UPDATEADDRESS |
|
BEFORE_DELETEADDRESS |
|
ADDRESS_DELETE |
sent on address removal |
AFTER_DELETEADDRESS |
|
ADDRESS_DEFAULT |
sent when an address is tag as default |
ADMIN_LOGOUT |
Sent before the logout of the administrator. |
ADMIN_LOGIN |
Sent once the administrator is successfully logged in. |
ADMIN_PASSWORD_RENEW |
|
BEFORE_CREATEAREA |
|
AREA_CREATE |
|
AFTER_CREATEAREA |
|
AREA_POSTAGE_UPDATE |
|
BEFORE_UPDATEAREA |
|
AREA_UPDATE |
|
AFTER_UPDATEAREA |
|
AREA_ADD_COUNTRY |
|
AREA_REMOVE_COUNTRY |
|
BEFORE_DELETEAREA |
|
AREA_DELETE |
|
AFTER_DELETEAREA |
|
BEFORE_CREATECATEGORY |
|
CATEGORY_CREATE |
|
AFTER_CREATECATEGORY |
|
BEFORE_UPDATECATEGORY |
|
CATEGORY_UPDATE |
|
AFTER_UPDATECATEGORY |
|
BEFORE_DELETECATEGORY |
|
CATEGORY_DELETE |
|
AFTER_DELETECATEGORY |
|
CATEGORY_TOGGLE_VISIBILITY |
|
CATEGORY_UPDATE_POSITION |
|
CATEGORY_ADD_CONTENT |
|
CATEGORY_REMOVE_CONTENT |
|
CATEGORY_UPDATE_SEO |
|
BEFORE_CREATECONTENT |
|
CONTENT_CREATE |
|
AFTER_CREATECONTENT |
|
BEFORE_UPDATECONTENT |
|
CONTENT_UPDATE |
|
AFTER_UPDATECONTENT |
|
BEFORE_DELETECONTENT |
|
CONTENT_DELETE |
|
AFTER_DELETECONTENT |
|
CONTENT_TOGGLE_VISIBILITY |
|
CONTENT_UPDATE_POSITION |
|
CONTENT_UPDATE_SEO |
|
CONTENT_ADD_FOLDER |
|
CONTENT_REMOVE_FOLDER |
|
BEFORE_CREATECOUNTRY |
|
COUNTRY_CREATE |
|
AFTER_CREATECOUNTRY |
|
BEFORE_UPDATECOUNTRY |
|
COUNTRY_UPDATE |
|
AFTER_UPDATECOUNTRY |
|
BEFORE_DELETECOUNTRY |
|
COUNTRY_DELETE |
|
AFTER_DELETECOUNTRY |
|
COUNTRY_TOGGLE_DEFAULT |
|
COUNTRY_TOGGLE_VISIBILITY |
|
BEFORE_CREATESTATE |
|
STATE_CREATE |
|
AFTER_CREATESTATE |
|
BEFORE_UPDATESTATE |
|
STATE_UPDATE |
|
AFTER_UPDATESTATE |
|
BEFORE_DELETESTATE |
|
STATE_DELETE |
|
AFTER_DELETESTATE |
|
STATE_TOGGLE_VISIBILITY |
|
CUSTOMER_LOGOUT |
Sent before the logout of the customer. |
CUSTOMER_LOGIN |
Sent once the customer is successfully logged in. |
BEFORE_CREATECUSTOMER |
Sent once the customer creation form has been successfully validated, and before customer insertion in the database. |
CUSTOMER_CREATEACCOUNT |
sent on customer account creation |
AFTER_CREATECUSTOMER |
Sent just after a successful insert of a new customer in the database. |
CUSTOMER_UPDATEACCOUNT |
sent on customer account update |
BEFORE_UPDATECUSTOMER |
Sent once the customer change form has been successfully validated, and before customer update in the database. |
CUSTOMER_UPDATEPROFILE |
sent on customer account update profile |
AFTER_UPDATECUSTOMER |
Sent just after a successful update of a customer in the database. |
BEFORE_DELETECUSTOMER |
sent just before customer removal |
CUSTOMER_DELETEACCOUNT |
sent on customer removal |
CUSTOMER_ADDRESS_DELETE |
sent on customer address removal |
AFTER_DELETECUSTOMER |
sent just after customer removal |
LOST_PASSWORD |
sent when a customer need a new password |
BEFORE_CREATEFOLDER |
|
FOLDER_CREATE |
|
AFTER_CREATEFOLDER |
|
BEFORE_UPDATEFOLDER |
|
FOLDER_UPDATE |
|
AFTER_UPDATEFOLDER |
|
BEFORE_DELETEFOLDER |
|
FOLDER_DELETE |
|
AFTER_DELETEFOLDER |
|
FOLDER_TOGGLE_VISIBILITY |
|
FOLDER_UPDATE_POSITION |
|
FOLDER_UPDATE_SEO |
|
BEFORE_CREATEPRODUCT |
|
PRODUCT_CREATE |
|
AFTER_CREATEPRODUCT |
|
BEFORE_UPDATEPRODUCT |
|
PRODUCT_UPDATE |
|
AFTER_UPDATEPRODUCT |
|
BEFORE_DELETEPRODUCT |
|
PRODUCT_DELETE |
|
AFTER_DELETEPRODUCT |
|
PRODUCT_TOGGLE_VISIBILITY |
|
PRODUCT_UPDATE_POSITION |
|
PRODUCT_UPDATE_SEO |
|
PRODUCT_ADD_CONTENT |
|
PRODUCT_REMOVE_CONTENT |
|
PRODUCT_UPDATE_CONTENT_POSITION |
|
PRODUCT_ADD_PRODUCT_SALE_ELEMENT |
|
PRODUCT_DELETE_PRODUCT_SALE_ELEMENT |
|
PRODUCT_UPDATE_PRODUCT_SALE_ELEMENT |
|
PRODUCT_COMBINATION_GENERATION |
|
PRODUCT_SET_TEMPLATE |
|
PRODUCT_ADD_ACCESSORY |
|
PRODUCT_REMOVE_ACCESSORY |
|
PRODUCT_UPDATE_ACCESSORY_POSITION |
|
PRODUCT_FEATURE_UPDATE_VALUE |
|
PRODUCT_FEATURE_DELETE_VALUE |
|
PRODUCT_ADD_CATEGORY |
|
PRODUCT_REMOVE_CATEGORY |
|
VIRTUAL_PRODUCT_ORDER_HANDLE |
|
VIRTUAL_PRODUCT_ORDER_DOWNLOAD_RESPONSE |
|
PRODUCT_CLONE |
|
FILE_CLONE |
|
PSE_CLONE |
|
SHIPPING_ZONE_ADD_AREA |
|
SHIPPING_ZONE_REMOVE_AREA |
|
BEFORE_CREATECATEGORY_ASSOCIATED_CONTENT |
|
AFTER_CREATECATEGORY_ASSOCIATED_CONTENT |
|
BEFORE_DELETECATEGORY_ASSOCIATED_CONTENT |
|
AFTER_DELETECATEGORY_ASSOCIATED_CONTENT |
|
BEFORE_UPDATECATEGORY_ASSOCIATED_CONTENT |
|
AFTER_UPDATECATEGORY_ASSOCIATED_CONTENT |
|
BEFORE_CREATEACCESSORY |
|
AFTER_CREATEACCESSORY |
|
BEFORE_DELETEACCESSORY |
|
AFTER_DELETEACCESSORY |
|
BEFORE_UPDATEACCESSORY |
|
AFTER_UPDATEACCESSORY |
|
BEFORE_CREATEPRODUCT_ASSOCIATED_CONTENT |
|
AFTER_CREATEPRODUCT_ASSOCIATED_CONTENT |
|
BEFORE_DELETEPRODUCT_ASSOCIATED_CONTENT |
|
AFTER_DELETEPRODUCT_ASSOCIATED_CONTENT |
|
BEFORE_UPDATEPRODUCT_ASSOCIATED_CONTENT |
|
AFTER_UPDATEPRODUCT_ASSOCIATED_CONTENT |
|
BEFORE_CREATEFEATURE_PRODUCT |
|
AFTER_CREATEFEATURE_PRODUCT |
|
BEFORE_DELETEFEATURE_PRODUCT |
|
AFTER_DELETEFEATURE_PRODUCT |
|
BEFORE_UPDATEFEATURE_PRODUCT |
|
AFTER_UPDATEFEATURE_PRODUCT |
|
CART_PERSIST |
Persist a cart |
CART_RESTORE_CURRENT |
Restore a current cart in the session, either by reloading it from the database, or creating a new one |
CART_CREATE_NEW |
Create a new, empty cart in the session, and attach it to the current customer, if any. |
CART_DUPLICATE |
sent when a new existing cat id duplicated. This append when current customer is different from current cart |
CART_ITEM_DUPLICATE |
|
AFTER_CARTADDITEM |
sent when a new item is added to current cart |
CART_FINDITEM |
sent for searching an item in the cart |
AFTER_CARTUPDATEITEM |
sent when a cart item is modify |
CART_ADDITEM |
sent for addArticle action |
CART_UPDATEITEM |
sent on modify article action |
CART_DELETEITEM |
|
CART_CLEAR |
|
CART_ITEM_CREATE_BEFORE |
before inserting a cart item in database |
CART_ITEM_UPDATE_BEFORE |
before updating a cart item in database |
ORDER_SET_DELIVERY_ADDRESS |
Order linked event |
ORDER_SET_DELIVERY_MODULE |
|
ORDER_SET_POSTAGE |
|
ORDER_SET_INVOICE_ADDRESS |
|
ORDER_SET_PAYMENT_MODULE |
|
ORDER_PAY |
|
ORDER_BEFORE_CREATE |
|
ORDER_AFTER_CREATE |
|
ORDER_BEFORE_PAYMENT |
|
ORDER_CART_CLEAR |
|
ORDER_CREATE_MANUAL |
|
ORDER_UPDATE_STATUS |
|
ORDER_SEND_CONFIRMATION_EMAIL |
|
ORDER_SEND_NOTIFICATION_EMAIL |
|
ORDER_UPDATE_DELIVERY_REF |
|
ORDER_UPDATE_ADDRESS |
|
ORDER_PRODUCT_BEFORE_CREATE |
|
ORDER_PRODUCT_AFTER_CREATE |
|
IMAGE_PROCESS |
Sent on image processing |
IMAGE_PREPROCESSING |
Sent just after creating the image object from the image file |
IMAGE_POSTPROCESSING |
Sent just before saving the processed image object on disk |
IMAGE_CLEAR_CACHE |
Sent on image cache clear request |
IMAGE_SAVE |
Save given images |
IMAGE_UPDATE |
Save given images |
IMAGE_UPDATE_POSITION |
|
IMAGE_TOGGLE_VISIBILITY |
|
IMAGE_DELETE |
Delete given image |
DOCUMENT_PROCESS |
Sent on document processing |
DOCUMENT_CLEAR_CACHE |
Sent on image cache clear request |
DOCUMENT_SAVE |
Save given documents |
DOCUMENT_UPDATE |
Save given documents |
DOCUMENT_UPDATE_POSITION |
|
DOCUMENT_TOGGLE_VISIBILITY |
|
DOCUMENT_DELETE |
Delete given document |
COUPON_CREATE |
Sent when creating a Coupon |
BEFORE_CREATE_COUPON |
Sent just before a successful insert of a new Coupon in the database. |
AFTER_CREATE_COUPON |
Sent just after a successful insert of a new Coupon in the database. |
COUPON_UPDATE |
Sent when editing a Coupon |
BEFORE_UPDATE_COUPON |
Sent just before a successful update of a new Coupon in the database. |
AFTER_UPDATE_COUPON |
Sent just after a successful update of a new Coupon in the database. |
COUPON_DELETE |
Sent when deleting a Coupon |
COUPON_CONSUME |
Sent when attempting to use a Coupon |
COUPON_CLEAR_ALL |
Sent when all coupons in the current session should be cleared |
BEFORE_CONSUME_COUPON |
Sent just before an attempt to use a Coupon |
AFTER_CONSUME_COUPON |
Sent just after an attempt to use a Coupon |
COUPON_CONDITION_UPDATE |
Sent when attempting to update Coupon Condition |
BEFORE_COUPON_CONDITION_UPDATE |
Sent just before an attempt to update a Coupon Condition |
AFTER_COUPON_CONDITION_UPDATE |
Sent just after an attempt to update a Coupon Condition |
LOOP_EXTENDS_ARG_DEFINITIONS |
|
LOOP_EXTENDS_INITIALIZE_ARGS |
|
LOOP_EXTENDS_BUILD_MODEL_CRITERIA |
|
LOOP_EXTENDS_BUILD_ARRAY |
|
LOOP_EXTENDS_PARSE_RESULTS |
|
CONFIG_CREATE |
|
CONFIG_SETVALUE |
|
CONFIG_UPDATE |
|
CONFIG_DELETE |
|
BEFORE_CREATECONFIG |
|
AFTER_CREATECONFIG |
|
BEFORE_UPDATECONFIG |
|
AFTER_UPDATECONFIG |
|
BEFORE_DELETECONFIG |
|
AFTER_DELETECONFIG |
|
MESSAGE_CREATE |
|
MESSAGE_UPDATE |
|
MESSAGE_DELETE |
|
BEFORE_CREATEMESSAGE |
|
AFTER_CREATEMESSAGE |
|
BEFORE_UPDATEMESSAGE |
|
AFTER_UPDATEMESSAGE |
|
BEFORE_DELETEMESSAGE |
|
AFTER_DELETEMESSAGE |
|
CURRENCY_CREATE |
|
CURRENCY_UPDATE |
|
CURRENCY_DELETE |
|
CURRENCY_SET_DEFAULT |
|
CURRENCY_SET_VISIBLE |
|
CURRENCY_UPDATE_RATES |
|
CURRENCY_UPDATE_POSITION |
|
BEFORE_CREATECURRENCY |
|
AFTER_CREATECURRENCY |
|
BEFORE_UPDATECURRENCY |
|
AFTER_UPDATECURRENCY |
|
BEFORE_DELETECURRENCY |
|
AFTER_DELETECURRENCY |
|
CHANGE_DEFAULT_CURRENCY |
|
TAX_CREATE |
|
TAX_UPDATE |
|
TAX_DELETE |
|
PROFILE_CREATE |
|
PROFILE_UPDATE |
|
PROFILE_DELETE |
|
PROFILE_RESOURCE_ACCESS_UPDATE |
|
PROFILE_MODULE_ACCESS_UPDATE |
|
ADMINISTRATOR_CREATE |
|
ADMINISTRATOR_UPDATE |
|
ADMINISTRATOR_DELETE |
|
ADMINISTRATOR_UPDATEPASSWORD |
|
ADMINISTRATOR_CREATEPASSWORD |
|
API_CREATE |
|
API_DELETE |
|
API_UPDATE |
|
MAILING_SYSTEM_UPDATE |
|
TAX_RULE_CREATE |
|
TAX_RULE_UPDATE |
|
TAX_RULE_DELETE |
|
TAX_RULE_SET_DEFAULT |
|
TAX_RULE_TAXES_UPDATE |
|
TEMPLATE_CREATE |
|
TEMPLATE_UPDATE |
|
TEMPLATE_DELETE |
|
TEMPLATE_ADD_ATTRIBUTE |
|
TEMPLATE_DELETE_ATTRIBUTE |
|
TEMPLATE_ADD_FEATURE |
|
TEMPLATE_DELETE_FEATURE |
|
TEMPLATE_CHANGE_FEATURE_POSITION |
|
TEMPLATE_CHANGE_ATTRIBUTE_POSITION |
|
BEFORE_CREATETEMPLATE |
|
AFTER_CREATETEMPLATE |
|
BEFORE_UPDATETEMPLATE |
|
AFTER_UPDATETEMPLATE |
|
BEFORE_DELETETEMPLATE |
|
AFTER_DELETETEMPLATE |
|
ATTRIBUTE_CREATE |
|
ATTRIBUTE_UPDATE |
|
ATTRIBUTE_DELETE |
|
ATTRIBUTE_UPDATE_POSITION |
|
ATTRIBUTE_REMOVE_FROM_ALL_TEMPLATES |
|
ATTRIBUTE_ADD_TO_ALL_TEMPLATES |
|
BEFORE_CREATEATTRIBUTE |
|
AFTER_CREATEATTRIBUTE |
|
BEFORE_UPDATEATTRIBUTE |
|
AFTER_UPDATEATTRIBUTE |
|
BEFORE_DELETEATTRIBUTE |
|
AFTER_DELETEATTRIBUTE |
|
FEATURE_CREATE |
|
FEATURE_UPDATE |
|
FEATURE_DELETE |
|
FEATURE_UPDATE_POSITION |
|
FEATURE_REMOVE_FROM_ALL_TEMPLATES |
|
FEATURE_ADD_TO_ALL_TEMPLATES |
|
BEFORE_CREATEFEATURE |
|
AFTER_CREATEFEATURE |
|
BEFORE_UPDATEFEATURE |
|
AFTER_UPDATEFEATURE |
|
BEFORE_DELETEFEATURE |
|
AFTER_DELETEFEATURE |
|
ATTRIBUTE_AV_CREATE |
|
ATTRIBUTE_AV_UPDATE |
|
ATTRIBUTE_AV_DELETE |
|
ATTRIBUTE_AV_UPDATE_POSITION |
|
BEFORE_CREATEATTRIBUTE_AV |
|
AFTER_CREATEATTRIBUTE_AV |
|
BEFORE_UPDATEATTRIBUTE_AV |
|
AFTER_UPDATEATTRIBUTE_AV |
|
BEFORE_DELETEATTRIBUTE_AV |
|
AFTER_DELETEATTRIBUTE_AV |
|
FEATURE_AV_CREATE |
|
FEATURE_AV_UPDATE |
|
FEATURE_AV_DELETE |
|
FEATURE_AV_UPDATE_POSITION |
|
BEFORE_CREATEFEATURE_AV |
|
AFTER_CREATEFEATURE_AV |
|
BEFORE_UPDATEFEATURE_AV |
|
AFTER_UPDATEFEATURE_AV |
|
BEFORE_DELETEFEATURE_AV |
|
AFTER_DELETEFEATURE_AV |
|
MAILTRANSPORTER_CONFIG |
sent when system find a mailer transporter. |
GENERATE_REWRITTENURL |
sent when Thelia try to generate a rewritten url |
GENERATE_PDF |
|
MODULE_TOGGLE_ACTIVATION |
sent when a module is activated or deactivated |
MODULE_UPDATE_POSITION |
sent when module position is changed |
MODULE_CREATE |
module |
MODULE_UPDATE |
|
MODULE_DELETE |
|
MODULE_INSTALL |
|
MODULE_PAY |
|
MODULE_PAYMENT_IS_VALID |
|
MODULE_PAYMENT_MANAGE_STOCK |
|
MODULE_DELIVERY_GET_POSTAGE |
|
BEFORE_HOOK_RENDER |
Hook |
HOOK_PROCESS_RENDER |
|
AFTER_HOOK_RENDER |
|
HOOK_CREATE |
|
HOOK_UPDATE |
|
HOOK_DELETE |
|
HOOK_TOGGLE_NATIVE |
|
HOOK_TOGGLE_ACTIVATION |
|
HOOK_CREATE_ALL |
|
HOOK_DEACTIVATION |
|
MODULE_HOOK_CREATE |
|
MODULE_HOOK_UPDATE |
|
MODULE_HOOK_DELETE |
|
MODULE_HOOK_UPDATE_POSITION |
|
MODULE_HOOK_TOGGLE_ACTIVATION |
|
CACHE_CLEAR |
sent for clearing cache |
NEWSLETTER_SUBSCRIBE |
sent for subscribing to the newsletter |
NEWSLETTER_UPDATE |
|
NEWSLETTER_UNSUBSCRIBE |
|
NEWSLETTER_CONFIRM_SUBSCRIPTION |
|
LANG_UPDATE |
|
LANG_CREATE |
|
LANG_DELETE |
|
LANG_DEFAULTBEHAVIOR |
|
LANG_URL |
|
LANG_FIX_MISSING_FLAG |
|
LANG_TOGGLEDEFAULT |
|
LANG_TOGGLEACTIVE |
|
LANG_TOGGLEVISIBLE |
|
BEFORE_UPDATELANG |
|
AFTER_UPDATELANG |
|
BEFORE_CREATELANG |
|
AFTER_CREATELANG |
|
BEFORE_DELETELANG |
|
AFTER_DELETELANG |
|
BRAND_CREATE |
|
BRAND_UPDATE |
|
BRAND_DELETE |
|
BRAND_UPDATE_POSITION |
|
BRAND_TOGGLE_VISIBILITY |
|
BRAND_UPDATE_SEO |
|
BEFORE_CREATEBRAND |
|
AFTER_CREATEBRAND |
|
BEFORE_DELETEBRAND |
|
AFTER_DELETEBRAND |
|
BEFORE_UPDATEBRAND |
|
AFTER_UPDATEBRAND |
|
IMPORT_CHANGE_POSITION |
|
IMPORT_CATEGORY_CHANGE_POSITION |
|
IMPORT_BEGIN |
|
IMPORT_FINISHED |
|
IMPORT_SUCCESS |
|
EXPORT_CHANGE_POSITION |
|
EXPORT_CATEGORY_CHANGE_POSITION |
|
EXPORT_BEGIN |
|
EXPORT_FINISHED |
|
EXPORT_SUCCESS |
|
SALE_CREATE |
|
SALE_UPDATE |
|
SALE_DELETE |
|
SALE_TOGGLE_ACTIVITY |
|
SALE_CLEAR_SALE_STATUS |
|
UPDATE_PRODUCT_SALE_STATUS |
|
CHECK_SALE_ACTIVATION_EVENT |
|
BEFORE_CREATESALE |
|
AFTER_CREATESALE |
|
BEFORE_DELETESALE |
|
AFTER_DELETESALE |
|
BEFORE_UPDATESALE |
|
AFTER_UPDATESALE |
|
META_DATA_CREATE |
|
META_DATA_UPDATE |
|
META_DATA_DELETE |
|
FORM_BEFORE_BUILD |
|
FORM_AFTER_BUILD |
|
CUSTOMER_TITLE_BEFORE_CREATE |
|
CUSTOMER_TITLE_CREATE |
|
CUSTOMER_TITLE_AFTER_CREATE |
|
CUSTOMER_TITLE_BEFORE_UPDATE |
|
CUSTOMER_TITLE_UPDATE |
|
CUSTOMER_TITLE_AFTER_UPDATE |
|
CUSTOMER_TITLE_DELETE |
|
TRANSLATION_GET_STRINGS |
|
TRANSLATION_WRITE_FILE |
|
BEFORE_CREATE_ORDER_STATUS |
|
ORDER_STATUS_CREATE |
|
AFTER_CREATE_ORDER_STATUS |
|
BEFORE_UPDATE_ORDER_STATUS |
|
ORDER_STATUS_UPDATE |
|
AFTER_UPDATE_ORDER_STATUS |
|
BEFORE_DELETE_ORDER_STATUS |
|
ORDER_STATUS_DELETE |
|
AFTER_DELETE_ORDER_STATUS |
|
ORDER_STATUS_UPDATE_POSITION |
|
Methods
Generate the event name for a specific loop
Generate the event name for a specific module
Details
at line 595
static
string
getLoopExtendsEvent(
string $eventName,
string $loopName)
Generate the event name for a specific loop
at line 824
static
string
getModuleEvent(
string $eventName,
string $moduleCode)
Generate the event name for a specific module