addValue() protected method
Stores a value identified by a key into cache if the cache does not contain this key. This is the implementation of the method declared in the parent class.
protected boolean addValue ( $key, $value, $duration )$key string
The key identifying the value to be cached $value mixed
The value to be cached $duration integer
The number of seconds in which the cached value will expire. 0 means never expire. return boolean
True if the value is successfully stored