Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PFUploadForm Class Reference
Inheritance diagram for PFUploadForm:
Inheritance graph
[legend]
Collaboration diagram for PFUploadForm:
Collaboration graph
[legend]

Public Member Functions

 __construct ( $options=array())
 
 show ()
 
 trySubmit ()
 

Protected Member Functions

 getSourceSection ()
 
 getExtensionsMessage ()
 
 getDescriptionSection ()
 
 getOptionsSection ()
 
 addUploadJS ()
 

Protected Attributes

 $mWatch
 
 $mForReUpload
 
 $mSessionKey
 
 $mHideIgnoreWarning
 
 $mDestWarningAck
 
 $mSourceIds
 

Detailed Description

Sub class of HTMLForm that provides the form section of SpecialUpload

Member Function Documentation

◆ addUploadJS()

PFUploadForm::addUploadJS ( )
protected

Add upload JS to the OutputPage

◆ getDescriptionSection()

PFUploadForm::getDescriptionSection ( )
protected

Get the descriptor of the fieldset that contains the file description input. The section is 'description'

Returns
array Descriptor array

◆ getExtensionsMessage()

PFUploadForm::getExtensionsMessage ( )
protected

Get the messages indicating which extensions are preferred and prohibitted.

Returns
string HTML string containing the message

◆ getOptionsSection()

PFUploadForm::getOptionsSection ( )
protected

Get the descriptor of the fieldset that contains the upload options, such as "watch this file". The section is 'options'

Returns
array Descriptor array

◆ getSourceSection()

PFUploadForm::getSourceSection ( )
protected

Get the descriptor of the fieldset that contains the file source selection. The section is 'source'

Returns
array Descriptor array

◆ show()

PFUploadForm::show ( )

Add the upload JS and show the form.

◆ trySubmit()

PFUploadForm::trySubmit ( )

Empty function; submission is handled elsewhere.

Returns
bool false

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

About | General disclaimer | Privacy policy