Class File

Description

File

Record class for FileField data.

Located in /types.php (line 19)


	
			
Direct descendents
Class Description
Image Image
Variable Summary
mixed $bytes
mixed $error
mixed $name
mixed $tmp_name
mixed $type
Method Summary
null __construct ( $file_data)
boolean move_to ( $path)
Variables
mixed $bytes (line 40)

The size of the file in bytes.

  • access: public
mixed $error (line 36)

An error message, if there was an error uploading the file.

  • access: public
mixed $name (line 24)

The name of the file.

  • access: public
mixed $tmp_name (line 32)

The path of the temporary file.

  • access: public
mixed $type (line 28)

The mime type of the file.

  • access: public
Methods
Constructor __construct (line 47)
  • author: Jeff Ober
  • access: public
null __construct ( $file_data)
  • array $file_data: the uploaded file's array data from $_FILES

Redefined in descendants as:
move_to (line 63)

Moves the files from the temporary directory to another location. The new file will have the original file's name.

boolean move_to ( $path)
  • $path

Documentation generated on Mon, 20 Apr 2009 08:29:25 -0400 by phpDocumentor 1.4.2