Mantis 插件学习

1. 新建一个类继承MantisPlugin
2. 实现类下方法.
  • register() 注册你的插件,至少set name and version
    一些参数如下。
    /**
     * name - Your plugin's full name. Required value.
     */
    public $name        = null;
    /**
     * description - A full description of your plugin.
     */
    public $description = null;
    /**
     * page - The name of a plugin page for further information and administration.
     */
    public $page        = null;
    /**
     * version - Your plugin's version string. Required value.
     */
    public $version     = null;
    /**
     * requires - An array of key/value pairs of basename/version plugin dependencies.
        public $requires    = null;

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 135,080评论 19 139
  • 转至元数据结尾创建: 董潇伟,最新修改于: 十二月 23, 2016 转至元数据起始第一章:isa和Class一....
    40c0490e5268阅读 1,827评论 0 9
  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 173,885评论 25 709
  • 这个软件的资料特别少,只能自己摸索http://www.uzzf.com/soft/188229.html首先,下...
    鸭梨山大哎阅读 4,388评论 0 1
  • 1. 用不多于一百字来概括本书。 本书一开始就指出了事倍功半的失败者的思维之路,进而指出了其源自于还没想清楚要干出...
    M洋葱阅读 315评论 0 0