XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
RMFileUploader Class Reference
Inheritance diagram for RMFileUploader:
Inheritance graph

Public Member Functions

 __construct ($uploadDir, $maxFileSize, $allowed_exts=array())
 
 _copyFile ($chmod)
 
 getMIME ($extension)
 

Detailed Description

Definition at line 13 of file uploader.php.

Constructor & Destructor Documentation

RMFileUploader::__construct (   $uploadDir,
  $maxFileSize,
  $allowed_exts = array() 
)

Generate the uploader object

Parameters
string$dir
mixed$maxsize
mixed$allowedtypes
Returns
RMFileUploader

Definition at line 23 of file uploader.php.

References $ev, $GLOBALS, and RMEvents\get().

Here is the call graph for this function:

Member Function Documentation

RMFileUploader::_copyFile (   $chmod)

Definition at line 56 of file uploader.php.

References TextCleaner\sweetstring().

Here is the call graph for this function:

RMFileUploader::getMIME (   $extension)

Definition at line 103 of file uploader.php.


The documentation for this class was generated from the following file: