Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\MediaWiki\Hooks\FileUpload Class Reference

Public Member Functions

 __construct (File $file, $fileReUploadStatus=false)
 
 process ()
 

Detailed Description

Fires when a local file upload occurs

See also
https://www.mediawiki.org/wiki/Manual:Hooks/FileUpload

GNU GPL v2+

Since
1.9.1
Author
mwjames

Constructor & Destructor Documentation

SMW\MediaWiki\Hooks\FileUpload::__construct ( File  $file,
  $fileReUploadStatus = false 
)
Since
1.9.1
Parameters
File$file
boolean$fileReUploadStatus

Member Function Documentation

SMW\MediaWiki\Hooks\FileUpload::process ( )
Since
1.9.1
Returns
true

The documentation for this class was generated from the following file: