[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/bin/ -> wantedpages.php (summary)

(no description)

File Size: 186 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()
  dir_filter()
  get_pages()
  internal_links()


Class: WantedPagesCLI  - X-Ref

Find wanted pages

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

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

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

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

param: string $dir
return: array

internal_links($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