class PluginService

Constants

CONFIG_YML

EVENT_YML

Methods

__construct($app)

No description

install($path, $source)

No description

createTempDir()

No description

deleteDirs($arr)

No description

unpackPluginArchive($archive, $dir)

No description

checkPluginArchiveContent($dir, array $config_cache = array())

No description

readYml($yml)

No description

checkSymbolName($string)

No description

deleteFile($path)

No description

checkSamePlugin($code)

No description

calcPluginDir($name)

No description

createPluginDir($d)

No description

registerPlugin($meta, $event_yml, $source)

No description

callPluginManagerMethod($meta, $method)

No description

uninstall(Plugin $plugin)

No description

unregisterPlugin(Plugin $p)

No description

disable(Plugin $plugin)

No description

enable(Plugin $plugin, $enable = true)

No description

update(Plugin $plugin, $path)

No description

updatePlugin(Plugin $plugin, $meta, $event_yml)

No description

Details

at line 40
__construct($app)

Parameters

$app

at line 45
install($path, $source)

Parameters

$path
$source

at line 83
createTempDir()

at line 95
deleteDirs($arr)

Parameters

$arr

at line 105
unpackPluginArchive($archive, $dir)

Parameters

$archive
$dir

at line 123
checkPluginArchiveContent($dir, array $config_cache = array())

Parameters

$dir
array $config_cache

at line 164
readYml($yml)

Parameters

$yml

at line 173
checkSymbolName($string)

Parameters

$string

at line 181
deleteFile($path)

Parameters

$path

at line 187
checkSamePlugin($code)

Parameters

$code

at line 195
calcPluginDir($name)

Parameters

$name

at line 200
createPluginDir($d)

Parameters

$d

at line 208
registerPlugin($meta, $event_yml, $source)

Parameters

$meta
$event_yml
$source

at line 259
callPluginManagerMethod($meta, $method)

Parameters

$meta
$method

at line 270
uninstall(Plugin $plugin)

Parameters

Plugin $plugin

at line 283
unregisterPlugin(Plugin $p)

Parameters

Plugin $p

at line 304
disable(Plugin $plugin)

Parameters

Plugin $plugin

at line 309
enable(Plugin $plugin, $enable = true)

Parameters

Plugin $plugin
$enable

at line 331
update(Plugin $plugin, $path)

Parameters

Plugin $plugin
$path

at line 370
updatePlugin(Plugin $plugin, $meta, $event_yml)

Parameters

Plugin $plugin
$meta
$event_yml