MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUploadCreateFromRequest ( $type, &$className) | |
This hook is called when UploadBase::createFromRequest has been called. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UploadCreateFromRequest" to register handlers implementing this interface.
Definition at line 12 of file UploadCreateFromRequestHook.php.
MediaWiki\Hook\UploadCreateFromRequestHook::onUploadCreateFromRequest | ( | $type, | |
& | $className | ||
) |
This hook is called when UploadBase::createFromRequest has been called.
string | $type | Requested upload type |
string | &$className | Class name of the Upload instance to be created |
Implemented in MediaWiki\HookContainer\HookRunner.