Source for file Static.php
Documentation is available at Static.php
* @author Stephan Schmidt <schst@php.net>
* static lifetime of the cache
private $lifetime = null;
* @param integer lifetime in seconds
$this->lifetime = $lifetime;
* check, whether the cache is valid
* @param string type of the model
* @param integer timestamp the cache has been created
* @param array model properties stored in the cache
public function isValid($Type, $timestamp, $props)
if ($timestamp + $this->lifetime > time()) {
Documentation generated on Mon, 11 Mar 2019 15:49:50 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|