Implements interfaces:
FileUploader is a class that allows for easy implementation for uploading multiple image or audio files at once.
This class may also upload a single image from a URL
Located in /classes/ImageUploader.class.php (line 16)
FileUploader | --ImageUploader
Class | Description |
---|---|
![]() |
FileUploader is a class that allows for easy implementation for uploading multiple image or audio files at once. |
Inherited from FileUploader
FileUploader::$allowedAudioTypes
FileUploader::$allowedImageTypes
FileUploader::$allUploadErrorCodes
FileUploader::$allUploadErrorMessages
FileUploader::$allUploadErrorsFileName
FileUploader::$allUploadErrorsLineNumber
FileUploader::$errorLogFileName
FileUploader::$fileType
FileUploader::$maxUploadSize
FileUploader::$numberOfAllowedFilesToUpload
FileUploader::$numberOfErrors
FileUploader::$numberOfFilesPerDirectory
FileUploader::$numberOfSuccessfulUploads
FileUploader::$originalFilePath
FileUploader::$prependToFileName
FileUploader::$userReadableUploadErrorCodes
FileUploader::$userReadableUploadErrorMessages
Creates the uploading directory and all children directories if they do not exist
Getters and Setters
Retain the image transparency for gif and png images
Create a standard MySQL query for quick access to a query
This may not suit everyone ones needs so it may be ignored
The order of the query goes as follows..... ( fileNameFull, fileNameSmall, fileNameThumb, filePathFull, filePathSmall, filePathThumb )
These functions have been "overloaded" to allow for one or two more fields to be applied to the beginning of the query so it could be something like the following.... ( primaryKey, fileNameFull, fileNameSmall, fileNameThumb, filePathFull, filePathSmall, filePathThumb ) or.... ( primaryKey, userID, fileNameFull, fileNameSmall, fileNameThumb, filePathFull, filePathSmall, filePathThumb )
Set the desired height and width of the small images in two functions instead of using the setters
Set the desired height and width of the thumb images in two functions instead of using the setters
Inherited From FileUploader
FileUploader::checkDirectoryStatus()
FileUploader::checkIfFileExists()
FileUploader::countItemsInDirectory()
FileUploader::createDirectory()
FileUploader::detectFileType()
FileUploader::fileIsNotEmpty()
FileUploader::fileSmallEnoughForUpload()
FileUploader::getErrorLogFilename()
FileUploader::getFileType()
FileUploader::getFileTypeForUpload()
FileUploader::getMaxUploadSize()
FileUploader::getNumberOfAllowedFilesToUpload()
FileUploader::getNumberOfErrorsDuringUpload()
FileUploader::getNumberOfFilesPerDirectory()
FileUploader::getNumberOfSuccessfulUploads()
FileUploader::getPrependToFileName()
FileUploader::inParentDirectory()
FileUploader::isAcceptableFileType()
FileUploader::returnAllUploadErrorCodes()
FileUploader::returnAllUploadErrorMessages()
FileUploader::returnAllUploadErrorsFileName()
FileUploader::returnAllUploadErrorsLineNumber()
FileUploader::returnFormattedErrors()
FileUploader::returnUploadErrorCodeAtIndex()
FileUploader::returnUploadErrorFileNameAtIndex()
FileUploader::returnUploadErrorLineNumberAtIndex()
FileUploader::returnUploadErrorMessageAtIndex()
FileUploader::returnUserReadableUploadErrorCodes()
FileUploader::returnUserReadableUploadErrorMessages()
FileUploader::setErrorLogFilename()
FileUploader::setFileType()
FileUploader::setFileTypeForUpload()
FileUploader::setMaxUploadSize()
FileUploader::setNumberOfAllowedFilesToUpload()
FileUploader::setNumberOfFilesPerDirectory()
FileUploader::setPrependToFileName()
FileUploader::validateFile()
FileUploader::writeAllErrorsToLog()
Documentation generated on Wed, 28 Aug 2013 22:54:21 -0500 by phpDocumentor 1.4.4