Inherits Plugin.

Public Member Functions | |
| ppFile () | |
| is_uploaded ($key) | |
| move ($key, $destpath) | |
| process_image ($key, $destpath, $max_width=false, $max_height=false) | |
Public Attributes | |
| $mimetypes = array('image/png', 'image/pjpeg', 'image/jpeg', 'image/jpg', 'image/gif') | |
| $jpeg_quality = 100 | |
PRONTO WEB FRAMEWORK Copyright (C) 2006, Judd Vinet
Description: Handles file uploads
Definition at line 11 of file file.php.
| ppFile::is_uploaded | ( | $ | key | ) |
| ppFile::move | ( | $ | key, | |
| $ | destpath | |||
| ) |
| ppFile::ppFile | ( | ) |
Definition at line 16 of file file.php.
References Plugin::Plugin().
| ppFile::process_image | ( | $ | key, | |
| $ | destpath, | |||
| $ | max_width = false, |
|||
| $ | max_height = false | |||
| ) |
Process an image upload, resizing it if necessary
Definition at line 43 of file file.php.
References __(), and Plugin_Base::depend().
| ppFile::$mimetypes = array('image/png', 'image/pjpeg', 'image/jpeg', 'image/jpg', 'image/gif') |
1.6.1