Bootstrapcontextmenu.php 701 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. namespace addons\bootstrapcontextmenu;
  3. use app\common\library\Menu;
  4. use think\Addons;
  5. /**
  6. * 插件
  7. */
  8. class Bootstrapcontextmenu extends Addons
  9. {
  10. /**
  11. * 插件安装方法
  12. * @return bool
  13. */
  14. public function install()
  15. {
  16. return true;
  17. }
  18. /**
  19. * 插件卸载方法
  20. * @return bool
  21. */
  22. public function uninstall()
  23. {
  24. return true;
  25. }
  26. /**
  27. * 插件启用方法
  28. * @return bool
  29. */
  30. public function enable()
  31. {
  32. return true;
  33. }
  34. /**
  35. * 插件禁用方法
  36. * @return bool
  37. */
  38. public function disable()
  39. {
  40. return true;
  41. }
  42. }