[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/lib/plugins/usermanager/_test/ -> mocks.class.php (summary)

(no description)

File Size: 53 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

admin_mock_usermanager:: (5 methods):
  getImportFailures()
  tryExport()
  tryImport()
  notifyUser()
  isUploadedFile()

auth_mock_authplain:: (1 method):
  setCanDo()


Class: admin_mock_usermanager  - X-Ref

test wrapper to allow access to private/protected functions/properties

NB: for plugin introspection methods, getPluginType() & getPluginName() to work
this class name needs to start "admin_" and end "_usermanager".  Internally
these methods are used in setting up the class, e.g. for language strings
getImportFailures()   X-Ref
No description

tryExport()   X-Ref
No description

tryImport()   X-Ref
No description

notifyUser($user, $password, $status_alert=true)   X-Ref
No description

isUploadedFile($file)   X-Ref
No description

Class: auth_mock_authplain  - X-Ref

setCanDo($op, $canDo)   X-Ref
No description