You are here

function _uc_file_get_cache in Ubercart 6.2

Same name and namespace in other branches
  1. 8.4 uc_file/uc_file.module \_uc_file_get_cache()
  2. 7.3 uc_file/uc_file.module \_uc_file_get_cache()

Central cache for all file data.

4 calls to _uc_file_get_cache()
uc_file_get_by_id in uc_file/uc_file.module
Retrieves a file by 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_flush_cache in uc_file/uc_file.module
Flush our cache.

File

uc_file/uc_file.module, line 1602

Code

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