Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
upload () | |
upload () | |
delete () | |
Fonctions membres protégées | |
authoriseUser ($action) | |
Attributs protégés | |
$folder = '' | |
File Media Controller
Media File Controller
|
protected |
Check that the user is authorized to perform this action
string | $action | - the action to be performed (create or delete) |
Références $action, et JError\raiseWarning().
delete | ( | ) |
Deletes paths from the current path
Références $app, $dispatcher, $folder, $key, $path, $tmpl, $user, COM_MEDIA_BASE, DIRECTORY_SEPARATOR, elseif, ENT_COMPAT, JEventDispatcher\getInstance(), htmlspecialchars, et JError\raiseWarning().
upload | ( | ) |
Upload a file
Références $dispatcher, $file, $files, $folder, $params, $returnUrl, $user, COM_MEDIA_BASE, DIRECTORY_SEPARATOR, elseif, JEventDispatcher\getInstance(), JPATH_ROOT, et json_encode.
upload | ( | ) |
Upload one or more files
Références $dispatcher, $file, $files, $params, $return, MediaHelper\canUpload(), COM_MEDIA_BASE, DIRECTORY_SEPARATOR, JEventDispatcher\getInstance(), null, et JError\raiseWarning().
|
protected |