tags.php 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. // 应用开始
  16. 'app_begin' => [
  17. 'app\\common\\behavior\\Config', // 注册配置行为
  18. 'app\\common\\behavior\\Hook', // 注册钩子行为
  19. ],
  20. // 模块初始化
  21. 'module_init' => [],
  22. // 操作开始执行
  23. 'action_begin' => [],
  24. // 视图内容过滤
  25. 'view_filter' => [],
  26. // 日志写入
  27. 'log_write' => [],
  28. // 应用结束
  29. 'app_end' => [],
  30. ];