set() public method
Stores a value identified by a key into cache. If the cache already contains such a key, the existing value and expiration time will be replaced with the new ones, respectively.
public boolean set ( $key, $value, $duration = 0, $dependency = null )$key mixed
A key identifying the value to be cached. This can be a simple string or a complex data structure consisting of factors representing the key. $value mixed
The value to be cached $duration integer
The number of