MkFramework
 All Data Structures Functions
Public Member Functions
plugin_upload Class Reference

Public Member Functions

 __construct ($sColumn)
 
 saveAs ($sNewFileName)
 
 getPath ()
 
 isValid ()
 

Detailed Description

plugin_upload classe gerant l'upload de fichier

Author
Mika http://mkf.mkdevs.com/

Definition at line 23 of file plugin_upload.php.

Constructor & Destructor Documentation

__construct (   $sColumn)

constructeur public

Parameters
stringnomDuChamp

Definition at line 38 of file plugin_upload.php.

Member Function Documentation

getPath ( )

retourne l'adresse complete du fichier uploade public

Returns
string l'adresse complete du fichier uploade

Definition at line 71 of file plugin_upload.php.

isValid ( )

retourne l'adresse complete du fichier uploade public

Returns
bool true/false selon que le fichier a bien ete uploade ou non

Definition at line 79 of file plugin_upload.php.

saveAs (   $sNewFileName)

indique l'adresse ou sauvegarder le fichier public

Parameters
string$sNewFileNameadresse complete de destination (data/upload/fichier.jpg)
Returns
bool true/false selon que l'upload a bien fonctionne

Definition at line 56 of file plugin_upload.php.


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