[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/lib/plugins/extension/ -> cli.php (summary)

(no description)

File Size: 372 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

cli_plugin_extension:: (10 methods):
  setup()
  main()
  cmdUpgrade()
  cmdEnable()
  cmdUnInstall()
  cmdInstall()
  cmdSearch()
  cmdList()
  getInstalledExtensions()
  listExtensions()


Class: cli_plugin_extension  - X-Ref

Class cli_plugin_extension

Command Line component for the extension manager

setup(\splitbrain\phpcli\Options $options)   X-Ref
No description

main(\splitbrain\phpcli\Options $options)   X-Ref
No description

cmdUpgrade()   X-Ref
Upgrade all extensions

return: int

cmdEnable($set, $extensions)   X-Ref
Enable or disable one or more extensions

return: int
param: bool $set
param: string[] $extensions

cmdUnInstall($extensions)   X-Ref
Uninstall one or more extensions

return: int
param: string[] $extensions

cmdInstall($extensions)   X-Ref
Install one or more extensions

return: int
param: string[] $extensions

cmdSearch($query, $showdetails, $max)   X-Ref
Search for an extension

return: int
param: string $query
param: bool $showdetails
param: int $max

cmdList($showdetails, $filter)   X-Ref

return: int
param: bool $showdetails
param: string $filter

getInstalledExtensions()   X-Ref
Get all installed extensions

return: array

listExtensions($list, $details, $filter = '')   X-Ref
List the given extensions

param: string[] $list
param: bool $details display details
param: string $filter filter for this status