tags.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkPHP [ WE CAN DO IT JUST THINK ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: liu21st <liu21st@gmail.com>
  10. // +----------------------------------------------------------------------
  11. // 应用行为扩展定义文件
  12. return [
  13. // 应用初始化
  14. 'app_init' => [
  15. 'app\\common\\behavior\\Common',
  16. ],
  17. // 应用开始
  18. 'app_begin' => [],
  19. // 应用调度
  20. 'app_dispatch' => [
  21. 'app\\common\\behavior\\Common',
  22. ],
  23. // 模块初始化
  24. 'module_init' => [
  25. 'app\\common\\behavior\\Common',
  26. ],
  27. // 插件开始
  28. 'addon_begin' => [
  29. 'app\\common\\behavior\\Common',
  30. ],
  31. // 操作开始执行
  32. 'action_begin' => [],
  33. // 视图内容过滤
  34. 'view_filter' => [],
  35. // 日志写入
  36. 'log_write' => [],
  37. // 应用结束
  38. 'app_end' => [],
  39. ];