public function FileBase::getCacheEntry in Forena Reports 7.5
Same name and namespace in other branches
- 8 src/File/FileBaseOld.php \Drupal\forena\File\FileBase::getCacheEntry()
Returns the cache entry based on a filename.
Parameters
unknown $filename:
Return value
unknown
2 calls to FileBase::getCacheEntry()
- FileBase::isCustom in src/
File/ FileBase.php - FileBase::isOverriden in src/
File/ FileBase.php
File
- src/
File/ FileBase.php, line 404 - FileBase.inc File toolbox for manipulating files contained tn the report directory.
Class
Namespace
Drupal\forena\FileCode
public function getCacheEntry($filename) {
if (!$this->cache) {
$this
->validateAllCache();
}
list($base_name, $ext) = explode('.', $filename, 2);
$cache = $this->cache[$ext][$base_name];
return $cache;
}