Liste de tous les membres
Documentation des fonctions membres
MediaControllerFile::authoriseUser |
( |
|
$action | ) |
|
|
protected |
MediaControllerFile::delete |
( |
| ) |
|
Deletes paths from the current path
- Depuis:
- 1.5
Références $dispatcher, $folder, $path, JText\_(), JSession\checkToken(), JPath\clean(), COM_MEDIA_BASE, JFile\delete(), JFolder\delete(), DIRECTORY_SEPARATOR, elseif, JFolder\files(), JRequest\getCmd(), JDispatcher\getInstance(), JRequest\getVar(), JPluginHelper\importPlugin(), jexit(), JFile\makeSafe(), JText\plural(), JError\raiseWarning(), JClientHelper\setCredentialsFromRequest(), et JText\sprintf().
MediaControllerFile::reformatFilesArray |
( |
|
$name, |
|
|
|
$type, |
|
|
|
$tmp_name, |
|
|
|
$error, |
|
|
|
$size |
|
) |
| |
|
protected |
Used as a callback for array_map, turns the multi-file input array into a sensible array of files Also, removes illegal characters from the 'name' and sets a 'filepath' as the final destination of the file
- Paramètres:
-
string | - file name ($files['name']) |
string | - file type ($files['type']) |
string | - temporary name ($files['tmp_name']) |
string | - error info ($files['error']) |
string | - file size ($files['size']) |
- Renvoie:
- array protected
Références $name, $type, JPath\clean(), COM_MEDIA_BASE, DIRECTORY_SEPARATOR, et JFile\makeSafe().
MediaControllerFile::upload |
( |
| ) |
|
Upload a file
- Depuis:
- 1.5
Références $dispatcher, $file, $folder, $params, $return, $user, JText\_(), MediaHelper\canUpload(), JSession\checkToken(), JPath\clean(), COM_MEDIA_BASE, elseif, JFile\exists(), JDispatcher\getInstance(), JLog\getInstance(), JComponentHelper\getParams(), JFactory\getUser(), JRequest\getVar(), JPluginHelper\importPlugin(), JFile\makeSafe(), null, JText\plural(), JClientHelper\setCredentialsFromRequest(), JText\sprintf(), et JFile\upload().
MediaControllerFile::upload |
( |
| ) |
|
Upload one or more files
- Depuis:
- 1.5
Références $dispatcher, $file, $files, $params, $return, JText\_(), MediaHelper\canUpload(), JSession\checkToken(), COM_MEDIA_BASE, JFile\exists(), JDispatcher\getInstance(), JComponentHelper\getParams(), JRequest\getVar(), JPluginHelper\importPlugin(), jexit(), null, JText\plural(), JError\raiseNotice(), JError\raiseWarning(), JClientHelper\setCredentialsFromRequest(), JText\sprintf(), et JFile\upload().
Documentation des données membres
MediaControllerFile::$folder = '' |
|
protected |
La documentation de cette classe a été générée à partir des fichiers suivants :