Changeset 334 for trunk/lib/Cache.inc.php
- Timestamp:
- May 13, 2008 4:14:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Cache.inc.php
r316 r334 23 23 var $_params = array( 24 24 25 // If false nothing will be cached or retr eived. Useful for testing realtime data requests.25 // If false nothing will be cached or retrieved. Useful for testing realtime data requests. 26 26 'enabled' => true, 27 27 … … 117 117 118 118 /** 119 * Stores a new variable in the session cache. The $key should not be num beric119 * Stores a new variable in the session cache. The $key should not be numeric 120 120 * because the array_shift function will reset the key to the next largest 121 121 * int key. Weird behavior I can't understand. For example $cache["123"] will become $cache[0] … … 169 169 170 170 /** 171 * Retri ves an object from the session cache and returns it unserialized.171 * Retrieves an object from the session cache and returns it unserialized. 172 172 * It also moves it to the top of the stack, which makes it such that the 173 173 * cache flushing mechanism of putCache deletes the oldest referenced items
Note: See TracChangeset
for help on using the changeset viewer.