public function FrxFile::__construct in Forena Reports 7.4
Same name and namespace in other branches
- 7.3 FrxFile.inc \FrxFile::__construct()
2 calls to FrxFile::__construct()
- FrxDataFile::__construct in ./
FrxDataFile.inc - Constructor Sets the initial reort directory
- FrxReportFile::__construct in ./
FrxReportFile.inc - Constructor Sets the initial reort directory
2 methods override FrxFile::__construct()
- FrxDataFile::__construct in ./
FrxDataFile.inc - Constructor Sets the initial reort directory
- FrxReportFile::__construct in ./
FrxReportFile.inc - Constructor Sets the initial reort directory
File
- ./
FrxFile.inc, line 19 - 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 __construct($default_directory, $include_directories, $extentions = array(), $use_includes = TRUE) {
// Check to see if directory is writable
$this->dir = $default_directory;
$this->includes = $include_directories;
$this->use_includes = $use_includes;
$this->writable = is_writable($this->dir);
$this->cached_extensions = $extentions;
$this->cacheKey = 'forena:' . get_class($this);
}