You are here

protected function elFinderVolumeDrupal::_drupalfileobject in elFinder file manager 7.3

Same name and namespace in other branches
  1. 8.2 src/Controller/elFinderVolumeDrupal.php \elFinderVolumeDrupal::_drupalfileobject()
  2. 6.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_drupalfileobject()
  3. 7.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_drupalfileobject()

Create Drupal file object

@author Alexey Sukhotin

Parameters

string $path file path:

Return value

object

11 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::FileValidate in inc/elfinder.drupalfs.driver.inc
Let other Drupal modules perform validation on the uploaded file. See hook_file_validate().
elFinderVolumeDrupal::owner in inc/elfinder.drupalfs.driver.inc

... See full list

File

inc/elfinder.drupalfs.driver.inc, line 21
elFinder driver for Drupal filesystem.

Class

elFinderVolumeDrupal
@file

Code

protected function _drupalfileobject($path) {
  $uri = $this
    ->drupalpathtouri($path);
  return elfinder_get_drupal_file_obj($uri);
}