Habari\APCCache::_extend PHP Метод

_extend() защищенный Метод

Extend the expiration of the named cached value.
protected _extend ( string $name, integer $expiry, $group )
$name string The name of the cached item
$expiry integer The duration in seconds to extend the cache expiration by
    protected function _extend($name, $expiry, $group)
    {
        if (!$this->enabled) {
            return null;
        }
        Plugins::act('cache_extend_before', $name, $group, $expiry);
        if ($this->_has($name, $group)) {
            $cache_data = $this->_get($name, $group);
            $this->_set(implode(':', array($this->prefix, $group, $name)), $cache_data, time() + $expiry, $group);
        }
        Plugins::act('cache_extend_after', $name, $group, $expiry);
    }