| [ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Location holder of files stored temporarily This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| File Size: | 164 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
TempFSFile:: (8 methods):
__construct()
factory()
purge()
bind()
preserve()
autocollect()
purgeAllOnShutdown()
__destruct()
Class: TempFSFile - X-Ref
This class is used to hold the location and do limited manipulation| __construct( $path ) X-Ref |
| No description |
| factory( $prefix, $extension = '' ) X-Ref |
| Make a new temporary file on the file system. Temporary files may be purged when the file object falls out of scope. param: string $prefix param: string $extension return: TempFSFile|null |
| purge() X-Ref |
| Purge this file off the file system return: bool Success |
| bind( $object ) X-Ref |
| Clean up the temporary file only after an object goes out of scope param: stdClass $object return: TempFSFile This object |
| preserve() X-Ref |
| Set flag to not clean up after the temporary file return: TempFSFile This object |
| autocollect() X-Ref |
| Set flag clean up after the temporary file return: TempFSFile This object |
| purgeAllOnShutdown() X-Ref |
| Try to make sure that all files are purged on error This method should only be called internally |
| __destruct() X-Ref |
| Cleans up after the temporary file by deleting it |
| Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |