Projet

Général

Profil

Révision b4adf10d

Ajouté par Assos Assos il y a plus de 9 ans

Udpate to 7.33

Voir les différences:

drupal7/includes/cache.inc
98 98
 * @param $data
99 99
 *   The data to store in the cache. Complex data types will be automatically
100 100
 *   serialized before insertion. Strings will be stored as plain text and are
101
 *   not serialized.
101
 *   not serialized. Some storage engines only allow objects up to a maximum of
102
 *   1MB in size to be stored by default. When caching large arrays or similar,
103
 *   take care to ensure $data does not exceed this size.
102 104
 * @param $bin
103
 *   The cache bin to store the data in. Valid core values are:
105
 *   (optional) The cache bin to store the data in. Valid core values are:
104 106
 *   - cache: (default) Generic cache storage bin (used for theme registry,
105 107
 *     locale date, list of simpletest tests, etc.).
106 108
 *   - cache_block: Stores the content of various blocks.
......
119 121
 *     the administrator panel.
120 122
 *   - cache_path: Stores the system paths that have an alias.
121 123
 * @param $expire
122
 *   One of the following values:
124
 *   (optional) One of the following values:
123 125
 *   - CACHE_PERMANENT: Indicates that the item should never be removed unless
124 126
 *     explicitly told to using cache_clear_all() with a cache ID.
125 127
 *   - CACHE_TEMPORARY: Indicates that the item should be removed at the next
......
254 256
   *   The cache ID of the data to store.
255 257
   * @param $data
256 258
   *   The data to store in the cache. Complex data types will be automatically
257
   *   serialized before insertion.
258
   *   Strings will be stored as plain text and not serialized.
259
   *   serialized before insertion. Strings will be stored as plain text and not
260
   *   serialized. Some storage engines only allow objects up to a maximum of
261
   *   1MB in size to be stored by default. When caching large arrays or
262
   *   similar, take care to ensure $data does not exceed this size.
259 263
   * @param $expire
260
   *   One of the following values:
264
   *   (optional) One of the following values:
261 265
   *   - CACHE_PERMANENT: Indicates that the item should never be removed unless
262 266
   *     explicitly told to using cache_clear_all() with a cache ID.
263 267
   *   - CACHE_TEMPORARY: Indicates that the item should be removed at the next

Formats disponibles : Unified diff