You are here

public function FileBase::exists in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 src/File/FileBase.php \Drupal\forena\File\FileBase::exists()

Return whether the file exists.

Parameters

string $filename:

File

src/File/FileBaseOld.php, line 299
FileSystemBase.inc File toolbox for manipulating files contained tn the report directory.

Class

FileBase

Namespace

Drupal\forena\File

Code

public function exists($filename, $use_include = TRUE) {
  return file_exists($this
    ->path($filename, $use_include));
}