Changeset 8742 for trunk/wp-includes/cache.php
- Timestamp:
- 08/27/2008 06:45:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cache.php
r8600 r8742 12 12 * Adds data to the cache, if the cache key doesn't aleady exist. 13 13 * 14 * @since 2.0 14 * @since 2.0.0 15 15 * @uses $wp_object_cache Object Cache Class 16 16 * @see WP_Object_Cache::add() … … 36 36 * make sure that the cache is cleaned up after WordPress no longer needs it. 37 37 * 38 * @since 2.0 38 * @since 2.0.0 39 39 * 40 40 * @return bool Always returns True … … 47 47 * Removes the cache contents matching ID and flag. 48 48 * 49 * @since 2.0 49 * @since 2.0.0 50 50 * @uses $wp_object_cache Object Cache Class 51 51 * @see WP_Object_Cache::delete() … … 64 64 * Removes all cache items. 65 65 * 66 * @since 2.0 66 * @since 2.0.0 67 67 * @uses $wp_object_cache Object Cache Class 68 68 * @see WP_Object_Cache::flush() … … 79 79 * Retrieves the cache contents from the cache by ID and flag. 80 80 * 81 * @since 2.0 81 * @since 2.0.0 82 82 * @uses $wp_object_cache Object Cache Class 83 83 * @see WP_Object_Cache::get() … … 97 97 * Sets up Object Cache Global and assigns it. 98 98 * 99 * @since 2.0 99 * @since 2.0.0 100 100 * @global WP_Object_Cache $wp_object_cache WordPress Object Cache 101 101 */ … … 107 107 * Replaces the contents of the cache with new data. 108 108 * 109 * @since 2.0 109 * @since 2.0.0 110 110 * @uses $wp_object_cache Object Cache Class 111 111 * @see WP_Object_Cache::replace() … … 145 145 * Adds a group or set of groups to the list of global groups. 146 146 * 147 * @since 2.6 147 * @since 2.6.0 148 148 * 149 149 * @param string|array $groups A group or an array of groups to add … … 157 157 * Adds a group or set of groups to the list of non-persistent groups. 158 158 * 159 * @since 2.6 159 * @since 2.6.0 160 160 * 161 161 * @param string|array $groups A group or an array of groups to add … … 189 189 * @var array 190 190 * @access private 191 * @since 2.0 191 * @since 2.0.0 192 192 */ 193 193 var $cache = array (); … … 198 198 * @var array 199 199 * @access private 200 * @since 2.0 200 * @since 2.0.0 201 201 */ 202 202 var $non_existant_objects = array (); … … 205 205 * The amount of times the cache data was already stored in the cache. 206 206 * 207 * @since 2.5 207 * @since 2.5.0 208 208 * @access private 209 209 * @var int … … 216 216 * @var int 217 217 * @access public 218 * @since 2.0 218 * @since 2.0.0 219 219 */ 220 220 var $cache_misses = 0; … … 227 227 * contents existance. 228 228 * 229 * @since 2.0 229 * @since 2.0.0 230 230 * 231 231 * @param int|string $id What to call the contents in the cache … … 255 255 * $non_existant_objects property in the class. 256 256 * 257 * @since 2.0 257 * @since 2.0.0 258 258 * 259 259 * @param int|string $id What the contents in the cache are called … … 278 278 * Clears the object cache of all data 279 279 * 280 * @since 2.0 280 * @since 2.0.0 281 281 * 282 282 * @return bool Always returns true … … 301 301 * the nonexistant objects. 302 302 * 303 * @since 2.0 303 * @since 2.0.0 304 304 * 305 305 * @param int|string $id What the contents in the cache are called … … 328 328 * Replace the contents in the cache, if contents already exist 329 329 * 330 * @since 2.0 330 * @since 2.0.0 331 331 * @see WP_Object_Cache::set() 332 332 * … … 359 359 * more for cache plugins which use files. 360 360 * 361 * @since 2.0 361 * @since 2.0.0 362 362 * 363 363 * @param int|string $id What to call the contents in the cache … … 388 388 * key and the data. 389 389 * 390 * @since 2.0 390 * @since 2.0.0 391 391 */ 392 392 function stats() { … … 409 409 * PHP4 constructor; Calls PHP 5 style constructor 410 410 * 411 * @since 2.0 411 * @since 2.0.0 412 412 * 413 413 * @return WP_Object_Cache
Note: See TracChangeset
for help on using the changeset viewer.