Multitable.php 570 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace app\admin\controller\example;
  3. use app\common\controller\Backend;
  4. /**
  5. * 多表格示例
  6. *
  7. * @icon fa fa-table
  8. * @remark 当一个页面上存在多个Bootstrap-table时该如何控制按钮和表格
  9. */
  10. class Multitable extends Backend
  11. {
  12. protected $model = null;
  13. public function _initialize()
  14. {
  15. parent::_initialize();
  16. }
  17. /**
  18. * 查看
  19. */
  20. public function index()
  21. {
  22. $this->loadlang('general/attachment');
  23. $this->loadlang('general/crontab');
  24. return $this->view->fetch();
  25. }
  26. }