98
edits
mNo edit summary |
m (→Introduction) |
||
| Line 16: | Line 16: | ||
* The Hook Context name (e.g.: "productcard" for products, "invoicecard" for invoices, etc..). can be found by searching for "'''initHooks('''" in php files. | * The Hook Context name (e.g.: "productcard" for products, "invoicecard" for invoices, etc..). can be found by searching for "'''initHooks('''" in php files. | ||
This will find results such as $hookmanager->initHooks(array('thirdpartycomm','globalcard')); where "thirdpartycomm" is the context. | This will find results such as "$hookmanager->initHooks(array('thirdpartycomm','globalcard'));" where "thirdpartycomm" is the context. | ||
* The Hook name can be found by searching for "'''executeHooks('''". | * The Hook name can be found by searching for "'''executeHooks('''". | ||
This will find results such as $reshook = $hookmanager->executeHooks('addMoreBoxStatsCustomer', $parameters, $object, $action); where "addMoreBoxStatsCustomer" is the Hook name. | This will find results such as "$reshook = $hookmanager->executeHooks('addMoreBoxStatsCustomer', $parameters, $object, $action);" where "addMoreBoxStatsCustomer" is the Hook name. | ||
= Add a hook to insert code = | = Add a hook to insert code = | ||
edits