protected function elFinderVolumeDrupal::CheckUserQuota in elFinder file manager 8.2
Same name and namespace in other branches
- 6.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::CheckUserQuota()
- 7.3 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::CheckUserQuota()
- 7.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::CheckUserQuota()
4 calls to elFinderVolumeDrupal::CheckUserQuota()
- elFinderVolumeDrupal::extract in src/
Controller/ elFinderVolumeDrupal.php - elFinderVolumeDrupal::_archive in src/
Controller/ elFinderVolumeDrupal.php - elFinderVolumeDrupal::_copy in src/
Controller/ elFinderVolumeDrupal.php - Copy file into another file
- elFinderVolumeDrupal::_save in src/
Controller/ elFinderVolumeDrupal.php - Create new file and write into it from file pointer. Return new file path or false on error.
File
- src/
Controller/ elFinderVolumeDrupal.php, line 276 - elFinder driver for Drupal filesystem.
Class
- elFinderVolumeDrupal
- @file
Code
protected function CheckUserQuota() {
$space = $this
->CalculateUserAllowedSpace();
if ($space == 0) {
$this
->setError(t('Quota exceeded'));
return FALSE;
}
return TRUE;
}