\app\service\adminPlugins

插件市场服务实现者 Class Auth

Summary

Methods
Properties
Constants
getError()
setError()
offLineInstall()
install()
unInstall()
getPluginRuntimeDir()
download()
insideInstall()
unzip()
migrate()
getPluginPath()
getPluginInfo()
setPluginInfo()
createMenu()
createMenuIds()
copyPublicFile()
removePublicFile()
installPluginConf()
unInstallPluginConf()
No public properties found
No constants found
No protected methods found
$_error
$ids
N/A
No private methods found
No private properties found
N/A

Properties

$_error

$_error : 

Type

$ids

$ids : 

Type

Methods

getError()

getError() 

setError()

setError(  $error) 

Parameters

$error

offLineInstall()

offLineInstall() 

install()

install(  $plugin,   $laytpGwToken) 

Parameters

$plugin
$laytpGwToken

unInstall()

unInstall(  $plugin) 

Parameters

$plugin

getPluginRuntimeDir()

getPluginRuntimeDir() 

download()

download(  $plugin,   $laytpGwToken) 

Parameters

$plugin
$laytpGwToken

insideInstall()

insideInstall(  $plugin) 

Parameters

$plugin

unzip()

unzip(  $plugin) : boolean

解压插件zip文件

Parameters

$plugin

Throws

\Exception

Returns

boolean

migrate()

migrate(  $plugin) 

Parameters

$plugin

getPluginPath()

getPluginPath(  $plugin) 

Parameters

$plugin

getPluginInfo()

getPluginInfo(  $plugin) 

Parameters

$plugin

setPluginInfo()

setPluginInfo(  $plugin,   $array) : boolean

设置插件配置信息

Parameters

$plugin
$array

Returns

boolean

createMenu()

createMenu(  $plugin) 

Parameters

$plugin

createMenuIds()

createMenuIds(  $menus,   $pid) 

Parameters

$menus
$pid

copyPublicFile()

copyPublicFile(  $plugin) 

Parameters

$plugin

removePublicFile()

removePublicFile(  $plugin) 

Parameters

$plugin

installPluginConf()

installPluginConf(  $plugin) 

Parameters

$plugin

unInstallPluginConf()

unInstallPluginConf(  $plugin) 

Parameters

$plugin