function _uc_file_get_cache in Ubercart 8.4
Same name and namespace in other branches
- 6.2 uc_file/uc_file.module \_uc_file_get_cache()
- 7.3 uc_file/uc_file.module \_uc_file_get_cache()
Central cache for all file data.
5 calls to _uc_file_get_cache()
- uc_file_get_by_id in uc_file/
uc_file.module - Retrieves a file by file ID.
- uc_file_get_by_key in uc_file/
uc_file.module - Retrieves a file by hash key.
- uc_file_get_by_name in uc_file/
uc_file.module - Retrieves a file by name.
- uc_file_get_by_uid in uc_file/
uc_file.module - Retrieves a file by user ID.
- _uc_file_flush_cache in uc_file/
uc_file.module - Flush our cache.
File
- uc_file/
uc_file.module, line 752 - Allows products to be associated with downloadable files.
Code
function &_uc_file_get_cache() {
static $cache = [];
return $cache;
}