Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
uploader Class Reference
+ Collaboration diagram for uploader:

Public Member Functions

 max_filesize ($size)
 
 max_image_size ($width, $height)
 
 upload ($filename, $accept_type, $extension)
 
 save_file ($path, $mode)
 

Data Fields

 $file
 
 $errors
 
 $accepted = ""
 
 $new_file = ""
 
 $max_filesize = 100000
 
 $max_image_width = 1000
 
 $max_image_height = 1000
 

Detailed Description

Definition at line 75 of file Class.Upload.php.

Member Function Documentation

max_filesize (   $size)

Definition at line 86 of file Class.Upload.php.

max_image_size (   $width,
  $height 
)

Definition at line 91 of file Class.Upload.php.

save_file (   $path,
  $mode 
)

Definition at line 175 of file Class.Upload.php.

upload (   $filename,
  $accept_type,
  $extension 
)

Definition at line 97 of file Class.Upload.php.

+ Here is the call graph for this function:

Field Documentation

$accepted = ""

Definition at line 80 of file Class.Upload.php.

$errors

Definition at line 79 of file Class.Upload.php.

$file

Definition at line 78 of file Class.Upload.php.

$max_filesize = 100000

Definition at line 82 of file Class.Upload.php.

$max_image_height = 1000

Definition at line 84 of file Class.Upload.php.

$max_image_width = 1000

Definition at line 83 of file Class.Upload.php.

$new_file = ""

Definition at line 81 of file Class.Upload.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen - published under CC License - Dynacase