Back to Cache class

Method setLifeTime

public void
setLifeTime
(mixed $lt)
Set cache lifetime
Parameters
  • int $lt Cache lifetime
Returns
  • void
Since
  • 1.7.0
Class: Cache
Project: Joomla

Method setLifeTime - Source code

/**
 * Set cache lifetime
 *
 * @param   integer  $lt  Cache lifetime
 *
 * @return  void
 *
 * @since   1.7.0
 */
public function setLifeTime($lt)
{
    $this->_options['lifetime'] = $lt;
}