Inherits BagOStuff.
Public Member Functions | |
| get ($key) | |
| Get an item with the given key. | |
| set ($key, $value, $exptime=0) | |
| Set an item. | |
| delete ($key, $time=0) | |
| keys () | |
Definition at line 469 of file BagOStuff.php.
| APCBagOStuff::delete | ( | $ | key, | |
| $ | time = 0 | |||
| ) |
| APCBagOStuff::get | ( | $ | key | ) |
Get an item with the given key.
Returns false if it does not exist.
| $key | string |
Reimplemented from BagOStuff.
Definition at line 470 of file BagOStuff.php.
| APCBagOStuff::keys | ( | ) |
| APCBagOStuff::set | ( | $ | key, | |
| $ | value, | |||
| $ | exptime = 0 | |||
| ) |
Set an item.
| $key | string | |
| $value | mixed | |
| $exptime | int Either an interval in seconds or a unix timestamp for expiry |
Reimplemented from BagOStuff.
Definition at line 478 of file BagOStuff.php.
1.5.9