protected function elFinderVolumeDrupal::_drupalfileobject in elFinder file manager 7.2
Same name and namespace in other branches
- 8.2 src/Controller/elFinderVolumeDrupal.php \elFinderVolumeDrupal::_drupalfileobject()
- 6.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_drupalfileobject()
- 7.3 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_drupalfileobject()
Create Drupal file object
@author Alexey Sukhotin
Parameters
string $path file path:
Return value
object
12 calls to elFinderVolumeDrupal::_drupalfileobject()
- elFinderVolumeDrupal::AddToDrupalDB in inc/
elfinder.drupalfs.driver.inc - Recursive function to add new files to Drupal's db.
- elFinderVolumeDrupal::desc in inc/
elfinder.drupalfs.driver.inc - elFinderVolumeDrupal::downloadcount in inc/
elfinder.drupalfs.driver.inc - elFinderVolumeDrupal::extract in inc/
elfinder.drupalfs.driver.inc - Extract files from archive.
- elFinderVolumeDrupal::FileValidate in inc/
elfinder.drupalfs.driver.inc - Let other Drupal modules perform validation on the uploaded file. See hook_file_validate().
File
- inc/
elfinder.drupalfs.driver.inc, line 26 - elFinder driver for Drupal filesystem.
Class
- elFinderVolumeDrupal
- @file
Code
protected function _drupalfileobject($path) {
$uri = $this
->drupalpathtouri($path);
return elfinder_get_drupal_file_obj($uri);
}