You are here

public function FrxFile::exists in Forena Reports 7.3

Same name and namespace in other branches
  1. 7.4 FrxFile.inc \FrxFile::exists()

Return whether the file exists.

Parameters

unknown_type $filename:

1 call to FrxFile::exists()
FrxFile::contents in ./FrxFile.inc
Return the contents of a file located in the report directory

File

./FrxFile.inc, line 47
FrxFile.inc File toolbox for manipulating files contained tn the report directory.

Class

FrxFile
@file FrxFile.inc File toolbox for manipulating files contained tn the report directory.

Code

public function exists($filename) {
  return file_exists($this->dir . '/' . $filename);
}