[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/bin/ -> indexer.php (summary)

(no description)

File Size: 113 lines (3 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

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

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