37 lines
424 B
PHP
37 lines
424 B
PHP
|
<?php
|
||
|
|
||
|
namespace addon\test_plug;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 插件安装之后单独的插件方法
|
||
|
*/
|
||
|
class Addon
|
||
|
{
|
||
|
/**
|
||
|
* 插件安装执行
|
||
|
*/
|
||
|
public function install()
|
||
|
{
|
||
|
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 插件卸载执行
|
||
|
*/
|
||
|
public function uninstall()
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 插件升级执行
|
||
|
*/
|
||
|
public function upgrade()
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
}
|