Révision ed9a13f1
Ajouté par Assos Assos il y a presque 4 ans
drupal7/sites/all/modules/feeds/includes/FeedsHTTPCacheItem.inc | ||
---|---|---|
1 | 1 |
<?php |
2 | 2 |
|
3 |
/** |
|
4 |
* @file |
|
5 |
* Contains FeedsHTTPCacheItem class. |
|
6 |
*/ |
|
7 |
|
|
3 | 8 |
/** |
4 | 9 |
* Class of a cached item. |
5 | 10 |
*/ |
6 | 11 |
class FeedsHTTPCacheItem { |
12 |
|
|
7 | 13 |
/** |
8 | 14 |
* The cache bin to save the data to. |
9 | 15 |
* |
... | ... | |
13 | 19 |
|
14 | 20 |
/** |
15 | 21 |
* The cache ID. |
22 |
* |
|
23 |
* @var string |
|
16 | 24 |
*/ |
17 | 25 |
protected $cid; |
18 | 26 |
|
... | ... | |
155 | 163 |
public function cacheSet() { |
156 | 164 |
cache_set($this->cid, $this, self::CACHE_BIN); |
157 | 165 |
} |
166 |
|
|
158 | 167 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules