MemcacheCacheItem Class Reference
[Memcache]
Cache Item for Memcache. More...
Inheritance diagram for
MemcacheCacheItem:
Public Member Functions |
|
__construct ($item_data) | |
Constructor. |
|
get_content_compressed () | |
Return the content gzip compressed. |
|
get_content_plain () | |
Return the content in plain form. |
|
get_creationdate () | |
Return creation date. |
|
get_data () | |
Return data associated with this item.
|
|
get_expirationdate () | |
Return expiration date. |
Detailed Description
Cache Item for Memcache.
Definition at line 8 of file cache.memcache.impl.php.
Constructor & Destructor Documentation
MemcacheCacheItem::__construct | ( | $ | item_data | ) |
Member Function Documentation
MemcacheCacheItem::get_content_compressed | ( | ) |
Return the content gzip compressed.
- Returns:
- string
Implements ICacheItem.
Definition at line 70 of file cache.memcache.impl.php.
MemcacheCacheItem::get_content_plain | ( | ) |
Return the content in plain form.
- Returns:
- string
Implements ICacheItem.
Definition at line 57 of file cache.memcache.impl.php.
00057 { 00058 $ret = $this->get_content_compressed(); 00059 if ($ret && function_exists('gzinflate')) { 00060 $ret = gzinflate($ret); 00061 } 00062 return $ret; 00063 }
MemcacheCacheItem::get_creationdate | ( | ) |
Return creation date.
- Returns:
- datetime
Implements ICacheItem.
Definition at line 30 of file cache.memcache.impl.php.
MemcacheCacheItem::get_data | ( | ) |
Return data associated with this item.
- Returns:
- mixed
Implements ICacheItem.
Definition at line 48 of file cache.memcache.impl.php.
MemcacheCacheItem::get_expirationdate | ( | ) |
Return expiration date.
- Returns:
- datetime
Implements ICacheItem.
Definition at line 39 of file cache.memcache.impl.php.
The documentation for this class was generated from the following file:
- contributions/cache.memcache/cache.memcache.impl.php