SFUploadForm Class Reference

Sub class of HTMLForm that provides the form section of SpecialUpload. More...

List of all members.

Public Member Functions

 __construct ($options=array())
 show ()
 Add the upload JS and show the form.
 trySubmit ()
 Empty function; submission is handled elsewhere.

Protected Member Functions

 getSourceSection ()
 Get the descriptor of the fieldset that contains the file source selection.
 getExtensionsMessage ()
 Get the messages indicating which extensions are preferred and prohibitted.
 getDescriptionSection ()
 Get the descriptor of the fieldset that contains the file description input.
 getOptionsSection ()
 Get the descriptor of the fieldset that contains the upload options, such as "watch this file".
 addUploadJS ($autofill=true)
 Add upload JS to $wgOut.

Protected Attributes

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


Detailed Description

Sub class of HTMLForm that provides the form section of SpecialUpload.

Definition at line 698 of file SF_UploadWindow.php.


Constructor & Destructor Documentation

SFUploadForm::__construct ( options = array()  ) 


Member Function Documentation

SFUploadForm::getSourceSection (  )  [protected]

Get the descriptor of the fieldset that contains the file source selection.

The section is 'source'

Returns:
array Descriptor array

Definition at line 747 of file SF_UploadWindow.php.

References getExtensionsMessage().

Referenced by __construct().

SFUploadForm::getExtensionsMessage (  )  [protected]

Get the messages indicating which extensions are preferred and prohibitted.

Returns:
string HTML string containing the message

Definition at line 817 of file SF_UploadWindow.php.

Referenced by getSourceSection().

SFUploadForm::getDescriptionSection (  )  [protected]

Get the descriptor of the fieldset that contains the file description input.

The section is 'description'

Returns:
array Descriptor array

Definition at line 854 of file SF_UploadWindow.php.

Referenced by __construct().

SFUploadForm::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

Definition at line 922 of file SF_UploadWindow.php.

Referenced by __construct().

SFUploadForm::show (  ) 

Add the upload JS and show the form.

Definition at line 953 of file SF_UploadWindow.php.

References $wgTitle, addUploadJS(), and END.

SFUploadForm::addUploadJS ( autofill = true  )  [protected]

Add upload JS to $wgOut.

Parameters:
bool $autofill Whether or not to autofill the destination filename text box

Definition at line 1024 of file SF_UploadWindow.php.

Referenced by show().

SFUploadForm::trySubmit (  ) 

Empty function; submission is handled elsewhere.

Returns:
bool false

Definition at line 1050 of file SF_UploadWindow.php.


Member Data Documentation

SFUploadForm::$mWatch [protected]

Definition at line 699 of file SF_UploadWindow.php.

SFUploadForm::$mForReUpload [protected]

Definition at line 700 of file SF_UploadWindow.php.

SFUploadForm::$mSessionKey [protected]

Definition at line 701 of file SF_UploadWindow.php.

SFUploadForm::$mHideIgnoreWarning [protected]

Definition at line 702 of file SF_UploadWindow.php.

SFUploadForm::$mDestWarningAck [protected]

Definition at line 703 of file SF_UploadWindow.php.

SFUploadForm::$mSourceIds [protected]

Definition at line 705 of file SF_UploadWindow.php.


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

Generated on Sun Mar 18 07:15:42 2012 for Semantic MediaWiki by  doxygen 1.5.6