setCachedEntity example


    public function __construct(array $options = array())
    {
        while (list($name$value) = each($options)) {
            $this->setOption($name$value);
        }
        if ($this->_specificOptions['cached_entity'] === null) {
            Zend_Cache::throwException('cached_entity must be set !');
        }
        $this->setCachedEntity($this->_specificOptions['cached_entity']);
        $this->setOption('automatic_serialization', true);
    }

    /** * Set a specific life time * * @param int $specificLifetime * @return void */
    public function setSpecificLifetime($specificLifetime = false)
    {
        
Home | Imprint | This part of the site doesn't use cookies.