tp5自定义扩展类的使用extend

tp5自定义扩展类的使用extend

tp5自定义扩展类的使用extend

tp5自定义扩展类的使用extend

tp5自定义扩展类的使用extend

1.在入口index.php定义目录

define('EXTEND_PATH', __DIR__ .'/../extend/');

2.在使用页引用

use lib\Page;

3.初始化

$page = new Page($total,$listRows);

相关文章:

  • 2022-02-03
  • 2022-12-23
  • 2021-07-22
  • 2022-12-23
  • 2021-09-04
  • 2021-09-28
  • 2022-12-23
  • 2021-07-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-02-01
相关资源
相似解决方案