1
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
5
* An open source application development framework for PHP 4.3.2 or newer
8
* @author ExpressionEngine Dev Team
9
* @copyright Copyright (c) 2006 - 2012 EllisLab, Inc.
10
* @license http://codeigniter.com/user_guide/license.html
11
* @link http://codeigniter.com
16
// ------------------------------------------------------------------------
19
* CodeIgniter Dummy Caching Class
21
* @package CodeIgniter
22
* @subpackage Libraries
24
* @author ExpressionEngine Dev Team
28
class CI_Cache_dummy extends CI_Driver {
33
* Since this is the dummy class, it's always going to return FALSE.
36
* @return Boolean FALSE
38
public function get($id)
43
// ------------------------------------------------------------------------
48
* @param string Unique Key
49
* @param mixed Data to store
50
* @param int Length of time (in seconds) to cache the data
52
* @return boolean TRUE, Simulating success
54
public function save($id, $data, $ttl = 60)
59
// ------------------------------------------------------------------------
64
* @param mixed unique identifier of the item in the cache
65
* @param boolean TRUE, simulating success
67
public function delete($id)
72
// ------------------------------------------------------------------------
77
* @return boolean TRUE, simulating success
79
public function clean()
84
// ------------------------------------------------------------------------
89
* @param string user/filehits
90
* @return boolean FALSE
92
public function cache_info($type = NULL)
97
// ------------------------------------------------------------------------
102
* @param mixed key to get cache metadata on
103
* @return boolean FALSE
105
public function get_metadata($id)
110
// ------------------------------------------------------------------------
113
* Is this caching driver supported on the system?
114
* Of course this one is.
118
public function is_supported()
123
// ------------------------------------------------------------------------
128
/* End of file Cache_dummy.php */
129
/* Location: ./system/libraries/Cache/drivers/Cache_dummy.php */
b'\\ No newline at end of file'