You are here

function _uc_file_get_cache in Ubercart 7.3

Same name and namespace in other branches
  1. 8.4 uc_file/uc_file.module \_uc_file_get_cache()
  2. 6.2 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 1476
Allows products to be associated with downloadable files.

Code

function &_uc_file_get_cache() {
  static $cache = array();
  return $cache;
}