触发系统: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 42: Line 42:
</syntaxhighlight>
</syntaxhighlight>


然后停用并重新激活模块。这将在 [[Table llx_const|表llx_const]] 中添加一行记录,告诉Dolibarr必须在模块的目录 '''htdocs/mymodule/core/triggers/''' 中查找触发器。2) Edit the file ''interface_99_modMyModule_Myworkflow.class.php'' to rename class ''InterfaceDemo'' by ''InterfaceMyworkflow''
然后停用并重新激活模块。这将在 [[Table llx_const|表llx_const]] 中添加一行记录,告诉Dolibarr必须在模块的目录 '''htdocs/mymodule/core/triggers/''' 中查找触发器。
 
2)编辑文件''interface_99_modMyModule_Myworkflow.class.php'',以便将''InterfaceDemo''类重命名为''InterfaceMyworkflow''
 
然后转到主页->系统信息->Dolibarr->触发器。您的触发器文件应显示在无错误列表中,表明以前的操作已成功完成。


Then go on page Home -> Admin Tools -> About Dolibarr ->Triggers.
Then go on page Home -> Admin Tools -> About Dolibarr ->Triggers.
714

edits

Navigation menu