You are here

protected function elFinderVolumeDrupal::_drupalfileobject in elFinder file manager 8.2

Same name and namespace in other branches
  1. 6.2 inc/elfinder.drupalfs.driver.inc \elFinderVolumeDrupal::_drupalfileobject()
  2. 7.3 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

10 calls to elFinderVolumeDrupal::_drupalfileobject()
elFinderVolumeDrupal::desc in src/Controller/elFinderVolumeDrupal.php
elFinderVolumeDrupal::downloadcount in src/Controller/elFinderVolumeDrupal.php
elFinderVolumeDrupal::extract in src/Controller/elFinderVolumeDrupal.php
elFinderVolumeDrupal::owner in src/Controller/elFinderVolumeDrupal.php
elFinderVolumeDrupal::_archive in src/Controller/elFinderVolumeDrupal.php

... See full list

File

src/Controller/elFinderVolumeDrupal.php, line 23
elFinder driver for Drupal filesystem.

Class

elFinderVolumeDrupal
@file

Code

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