513
edits
(Created page with "{{Template开发文档}} {{Template用户手册}} {{TemplateMainPageZh}} = 介绍 = 钩子开发功能,自Dolibarr 3.2开始启用。 允许开发者添加代码到Dolibarr...") |
m (→可用钩列表) |
||
| Line 146: | Line 146: | ||
* Your code can also modify the value of $object and $action. | * Your code can also modify the value of $object and $action. | ||
= | = 可用钩子列表 = | ||
How to find a complete list of all available hooks in Dolibarr's nomenclatura ? | How to find a complete list of all available hooks in Dolibarr's nomenclatura ? | ||
Just search for "'''executeHooks('''" through the whole sourcecode (generally called "find in files") and you should easily find all the hooked methods calls. | Just search for "'''executeHooks('''" through the whole sourcecode (generally called "find in files") and you should easily find all the hooked methods calls. | ||
edits