API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
MediaControllerFile::delete | ( | ) |
Deletes paths from the current path
string | $listFolder | The image directory to delete a file from |
Références $file, $folder, $mainframe, $path, JText::_(), JRequest::checkToken(), JPath::clean(), JFolder::delete(), JFile::delete(), JFolder::files(), JRequest::getCmd(), JRequest::getVar(), jexit(), jimport(), JFile::makeSafe(), JError::raiseWarning(), et JClientHelper::setCredentialsFromRequest().
MediaControllerFile::upload | ( | ) |
Upload a file
Références $file, $folder, $mainframe, $return, JText::_(), MediaHelper::canUpload(), JRequest::checkToken(), JPath::clean(), JFile::exists(), JLog::getInstance(), JRequest::getVar(), jexit(), jimport(), JFile::makeSafe(), JError::raiseNotice(), JError::raiseWarning(), JClientHelper::setCredentialsFromRequest(), et JFile::upload().