_filePutContents example

$metadatas = array(
            'hash' => $hash,
            'mtime' => time(),
            'expire' => $this->_expireTime($this->getLifetime($specificLifetime)),
            'tags' => $tags
        );
        $res = $this->_setMetadatas($id$metadatas);
        if (!$res) {
            $this->_log('Zend_Cache_Backend_File::save() / error on saving metadata');
            return false;
        }
        $res = $this->_filePutContents($file$data);
        return $res;
    }

    /** * Remove a cache record * * @param string $id cache id * @return boolean true if no problem */
    public function remove($id)
    {
        
Home | Imprint | This part of the site doesn't use cookies.