Matomo初探系列之三:基于扩展点进行二次开发

插件可以通过以下两种方式来扩展Matomo功能:

  • 使用事件(Events),你可以理解为系统已经埋好了钩子,自己的方法只要关联到钩子上即可被执行
  • 通过实现或者继承Matomo内核的特定类,可以实现自动被识别并运行(Matomo是通过目录扫描方式获取所有实现类或者子类的)

相关学习内容如下:

  • 了解系统提供的事件,然后为事件添加新的行为
  • 继承Archiver类,可以为添加新的归档任务
  • 后续不断补充

《Matomo初探系列之三:基于扩展点进行二次开发》有33条评论

  1. 990722 427020Maximize your by how a large amount of gear are employed internationally and will often impart numerous memory employing that your is also fighting that can be a result from our team rrnside the twenty first centuries. every day deal livingsocial discount baltimore washington 710647

  2. 204737 541787Whoah this weblog is magnificent i truly like reading your articles. Keep up the good paintings! You realize, a lot of persons are looking round for this data, you could aid them greatly. 523740

  3. 648340 41523After examine a couple of of the weblog posts on your site now, and I actually like your way of blogging. I bookmarked it to my bookmark web site list and shall be checking once again soon. Pls try my website online as well and let me know what you think. 191200

  4. 618762 51295That being said by use it all, planet is truly restored a bit a lot more. This situation in addition will this specific Skin tightening and starting to be moved and into the mood of these producing activities. day-to-day deal livingsocial discount baltimore washington 417481

发表评论

ICP证:苏ICP备15038038号-2