安装插件后的基础文件
This commit is contained in:
32
plugin/developer/README.md
Normal file
32
plugin/developer/README.md
Normal file
@@ -0,0 +1,32 @@
|
||||
// +----------------------------------------------------------------------
|
||||
// | swiftAdmin 极速开发框架 [基于 WebMan 开发]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2020-2099 http://www.swiftadmin.net
|
||||
// +----------------------------------------------------------------------
|
||||
// | swiftAdmin.net High Speed Development Framework
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: meystack <coolsec@foxmail.com> Apache2
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
* app 文件夹下所有文件将复制到根目录
|
||||
|
||||
* public 文件夹下所有文件将复制到根目录
|
||||
|
||||
* data 附加文件,menu.php文件插件后台菜单,menu.html为插件前台菜单
|
||||
|
||||
* Developer.php 为插件的核心安装文件,请务必按要求书写代码
|
||||
请注意钩子函数为public类型,如需非钩子函数可使用protected类型
|
||||
|
||||
* function.php 为当前插件的函数库文件
|
||||
|
||||
* config.php 为当前插件的配置信息文件
|
||||
|
||||
* config.html 为当前配置模板,存在才会出现配置按钮
|
||||
|
||||
* install.sql 插件的数据库安装文件,不需要可删除!!
|
||||
|
||||
* uninstall.sql 插件的数据库卸载文件,不需要可删除!!
|
||||
|
||||
* library 该目录下为第三方类库文件,如果你的类库文件存在命名空间问题,
|
||||
可手动修改或自行实现install方法将第三方类库复制到extend文件夹下!
|
||||
|
||||
Reference in New Issue
Block a user