⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cache.php

📁 一、修改产品详细页面的附件块 二、添加上浏览历史模块 三、在后台加入自定义首页、自定义页头、自定义页脚内容功能 四、在后台修改网站全局CSS样式文件功能 五、在后台修改每个模块的模板内容功能
💻 PHP
字号:
<?php/** * Swift Mailer Runtime caching base component. * Please read the LICENSE file * @author Chris Corbyn <chris@w3style.co.uk> * @package Swift_Cache * @license GNU Lesser General Public License */ require_once dirname(__FILE__) . "/ClassLoader.php";/** * The interface for any cache mechanisms to follow * @package Swift_Cache * @author Chris Corbyn <chris@w3style.co.uk> */abstract class Swift_Cache{  /**   * Append bytes to the cache buffer identified by $key   * @param string The Cache key   * @param string The bytes to append   */  abstract public function write($key, $data);  /**   * Clear out the buffer for $key   * @param string The cache key   */  abstract public function clear($key);  /**   * Check if there is something in the cache for $key   * @param string The cache key   * @return boolean   */  abstract public function has($key);  /**   * Read bytes from the cached buffer and seek forward in the buffer   * Returns false once no more bytes are left to read   * @param int The number of bytes to read (may be ignored)   * @return string   */  abstract public function read($key, $size=null);  /**   * A factory method to return an output stream object for the relevant location in the cache   * @param string The cache key to fetch the stream for   * @return Swift_Cache_OutputStream   */  public function getOutputStream($key)  {    Swift_ClassLoader::load("Swift_Cache_OutputStream");    $os = new Swift_Cache_OutputStream($this, $key);    return $os;  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -