You are here

function ad_memcache_get in Advertisement 6

Same name and namespace in other branches
  1. 5.2 cache/memcache/ad_cache_memcache.inc \ad_memcache_get()
  2. 5 cache/memcache/ad_cache_memcache.inc \ad_memcache_get()

Get a value from memcache.

7 calls to ad_memcache_get()
ad_cache_memcache in cache/memcache/ad_cache_memcache.inc
Called by adserve.inc, display an ad from memcache.
ad_cache_memcache_get_ad in cache/memcache/ad_cache_memcache.inc
ad_cache_memcache_get_ids in cache/memcache/ad_cache_memcache.inc
ad_cache_memcache_hook in cache/memcache/ad_cache_memcache.inc
ad_cache_memcache_increment in cache/memcache/ad_cache_memcache.inc
Increment impressions counter in memcache.

... See full list

File

cache/memcache/ad_cache_memcache.inc, line 246
Memcache include.

Code

function ad_memcache_get($key) {
  $memcache = ad_memcache_init();
  return $memcache
    ->get($key);
}