[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/file/ -> fileuploads.class.php (sommaire)

(pas de description)

Poids: 129 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 1 fois
Nécessite: 0 fichiers

Définit 1 class

FileUploads:: (4 méthodes):
  FileUploads()
  processFile()
  process()
  my_move_uploaded_file()


Classe: FileUploads  - X-Ref

\ingroup File

Handles file uploads in pLog.
FileUploads( $files )   X-Ref
Creates a new object to handle file uploads. $files is either the
contents of the $_FILES variable (if using PHP >= 4.1.0) or
$HTTP_POST_FILES if earlier version.

param: files The contents of the array generated by php after a file

processFile( $upload, $destinationFolder )   X-Ref
processes only one FileUpload object instead of the whole bunch

param: uplaod A FileUpload object
param: destinationFolder the destination folder
return: true if successful or false otherwise

process( $destinationFolder )   X-Ref
Goes through the array of files and processes them accordingly.
The result is an array of the appropiate Resource class that has been
created using the ResourceFactory class.

return: An array of Upload objects that have already been moved to a safer

my_move_uploaded_file( $filename, $destination )   X-Ref
Implements the a move_uploaded_file that handles multiple partitions.

return: a boolean that indicates if the file was successfully moved.  This will



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics