Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Tests\Utils\File\LocalFileUpload Class Reference
Collaboration diagram for SMW\Tests\Utils\File\LocalFileUpload:
Collaboration graph
[legend]

Public Member Functions

 __construct ($localUploadPath= '', $desiredDestName= '')
 
 setDummyFileCreator (DummyFileCreator $dummyFileCreator)
 
 getUploadError ()
 
 delete ()
 
 doUploadCopyFromLocation ($localUploadPath, $desiredDestName, $pageText= '', $comment= '')
 
 doUploadFromLocation ($localUploadPath, $desiredDestName, $pageText= '', $comment= '')
 
 doUpload ($pageText= '', $comment= '')
 
 initializeFromRequest (&$request)
 
 getSourceType ()
 

Detailed Description

GNU GPL v2+

Since
2.1
Author
mwjames

Constructor & Destructor Documentation

SMW\Tests\Utils\File\LocalFileUpload::__construct (   $localUploadPath = '',
  $desiredDestName = '' 
)
Since
2.1
Parameters
string$localUploadPath
string$desiredDestName

Member Function Documentation

SMW\Tests\Utils\File\LocalFileUpload::delete ( )
Since
2.1
SMW\Tests\Utils\File\LocalFileUpload::doUpload (   $pageText = '',
  $comment = '' 
)
Since
2.1
Parameters
string$pageText
string$comment
Returns
boolean
SMW\Tests\Utils\File\LocalFileUpload::doUploadCopyFromLocation (   $localUploadPath,
  $desiredDestName,
  $pageText = '',
  $comment = '' 
)
Since
2.5
Parameters
string$localUploadPath
string$desiredDestName
string$pageText
string$comment
Returns
boolean
SMW\Tests\Utils\File\LocalFileUpload::doUploadFromLocation (   $localUploadPath,
  $desiredDestName,
  $pageText = '',
  $comment = '' 
)
Since
2.5
Parameters
string$localUploadPath
string$desiredDestName
string$pageText
string$comment
Returns
boolean
SMW\Tests\Utils\File\LocalFileUpload::getSourceType ( )
See also
UploadBase::getSourceType
SMW\Tests\Utils\File\LocalFileUpload::getUploadError ( )
Since
2.1
Returns
string
SMW\Tests\Utils\File\LocalFileUpload::initializeFromRequest ( $request)
See also
UploadBase::initializeFromRequest
SMW\Tests\Utils\File\LocalFileUpload::setDummyFileCreator ( DummyFileCreator  $dummyFileCreator)
Since
2.5
Parameters
DummyFileCreator$dummyFileCreator

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