[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/bin/ -> wantedpages.php (summary)

(no description)

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

Defines 1 class

WantedPagesCLI:: (5 methods):
  setup()
  main()
  dirFilter()
  getPages()
  internalLinks()


Class: WantedPagesCLI  - X-Ref

Find wanted pages

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

dirFilter($entry, $basepath)   X-Ref
Determine directions of the search loop

return: int
param: string $entry
param: string $basepath

getPages($dir)   X-Ref
Collects recursively the pages in a namespace

return: array
param: string $dir

internalLinks($page)   X-Ref
Parse instructions and add the non-existing links to the result array

param: array $page array with page id and file path