[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/bin/ -> plugin.php (summary)

(no description)

File Size: 111 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 inc/init.php

Defines 1 class

PluginCLI:: (4 methods):
  setup()
  main()
  listPlugins()
  loadPlugin()


Class: PluginCLI  - X-Ref

setup(Options $options)   X-Ref
Register options and arguments on the given $options object

return: void
param: Options $options

main(Options $options)   X-Ref
Your main program

Arguments and options have been parsed when this is run

return: void
param: Options $options

listPlugins()   X-Ref
List available plugins


loadPlugin($name)   X-Ref
Instantiate a CLI plugin

return: CLIPlugin|null
param: string $name