[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/bin/ -> striplangs.php (summary)

(no description)

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

Defines 1 class

StripLangsCLI:: (4 methods):
  setup()
  main()
  processExtensions()
  stripDirLangs()


Class: StripLangsCLI  - X-Ref

Remove unwanted languages from a DokuWiki install

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

param: Options $options
return: void

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

Arguments and options have been parsed when this is run

param: Options $options
return: void

processExtensions($path, $keep_langs)   X-Ref
Strip languages from extensions

param: string $path path to plugin or template dir
param: array $keep_langs languages to keep

stripDirLangs($path, $keep_langs)   X-Ref
Strip languages from path

param: string $path path to lang dir
param: array $keep_langs languages to keep