Public Member Functions | |
initialize ($name, $sessionKey, $sessionData) | |
initializeFromRequest (&$request) | |
Initialize from a WebRequest. | |
stashSession () | |
There is no need to stash the image twice. | |
unsaveUploadedFile () | |
Remove a temporarily kept file stashed by saveTempUploadedFile(). | |
Static Public Member Functions | |
static | isValidSessionKey ($key, $sessionData) |
static | isValidRequest ($request) |
Check whether a request if valid for this handler. | |
Protected Member Functions | |
verifyFile () | |
File has been previously verified so no need to do so again. |
Definition at line 11 of file UploadFromStash.php.
UploadFromStash::initialize | ( | $ | name, | |
$ | sessionKey, | |||
$ | sessionData | |||
) |
Definition at line 28 of file UploadFromStash.php.
References $name, UploadBase::getRealPath(), and UploadBase::initializePathInfo().
Referenced by initializeFromRequest().
UploadFromStash::initializeFromRequest | ( | &$ | request | ) |
Initialize from a WebRequest.
Override this in a subclass.
Reimplemented from UploadBase.
Definition at line 47 of file UploadFromStash.php.
References initialize().
static UploadFromStash::isValidRequest | ( | $ | request | ) | [static] |
Check whether a request if valid for this handler.
Reimplemented from UploadBase.
Definition at line 20 of file UploadFromStash.php.
References isValidSessionKey().
static UploadFromStash::isValidSessionKey | ( | $ | key, | |
$ | sessionData | |||
) | [static] |
UploadFromStash::stashSession | ( | ) |
There is no need to stash the image twice.
Reimplemented from UploadBase.
Definition at line 68 of file UploadFromStash.php.
UploadFromStash::unsaveUploadedFile | ( | ) |
Remove a temporarily kept file stashed by saveTempUploadedFile().
Definition at line 78 of file UploadFromStash.php.
References $success, and RepoGroup::singleton().
UploadFromStash::verifyFile | ( | ) | [protected] |
File has been previously verified so no need to do so again.
Reimplemented from UploadBase.
Definition at line 60 of file UploadFromStash.php.