[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/bin/ -> indexer.php (summary)

(no description)

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

Defines 1 class

IndexerCLI:: (6 methods):
  setup()
  main()
  update()
  index()
  clearindex()
  quietecho()


Class: IndexerCLI  - X-Ref

Update the Search Index from command line

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

update()   X-Ref
Update the index


index($id)   X-Ref
Index the given page

param: string $id

clearindex()   X-Ref
Clear all index files


quietecho($msg)   X-Ref
Print message if not supressed

param: string $msg