[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 350 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file inc/init.php |
PageCLI:: (8 methods):
setup()
main()
commandCheckout()
commandCommit()
obtainLock()
clearLock()
deleteLock()
getUser()
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 |
commandCheckout($wiki_id, $localfile) X-Ref |
Check out a file param: string $wiki_id param: string $localfile |
commandCommit($localfile, $wiki_id, $message, $minor) X-Ref |
Save a file as a new page revision param: string $localfile param: string $wiki_id param: string $message param: bool $minor |
obtainLock($wiki_id) X-Ref |
Lock the given page or exit param: string $wiki_id |
clearLock($wiki_id) X-Ref |
Clear the lock on the given page param: string $wiki_id |
deleteLock($wiki_id) X-Ref |
Forcefully remove a lock on the page given param: string $wiki_id |
getUser() X-Ref |
Get the current user's username from the environment return: string |