Plugins 带有帮助文件的Joomla插件
有没有一种传统的方法来制作Joomla插件的帮助文件?比如类名(helper或plgnamehlper)以及调用它的方式Plugins 带有帮助文件的Joomla插件,plugins,joomla,Plugins,Joomla,有没有一种传统的方法来制作Joomla插件的帮助文件?比如类名(helper或plgnamehlper)以及调用它的方式 class Helper { public static function test() { // some code } public static function anotherTest() { // some code } } 按照惯例,助手文件是用于模块的,而不是用于插件的。但是,如果插件更改了
class Helper
{
public static function test()
{
// some code
}
public static function anotherTest()
{
// some code
}
}
按照惯例,助手文件是用于模块的,而不是用于插件的。但是,如果插件更改了HTML页面,那么制作一个模板是一个好主意 没有传统的方法为Joomla插件创建帮助文件,但您可以创建Joomla!库,它可以帮助您通过注册前缀自动加载类
我建议您阅读链接。您可以关闭此问题,因为它是在Joomla Stack Exchange上回答的;)