equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Cache |
16 * @package Zend_Cache |
17 * @subpackage Zend_Cache_Backend |
17 * @subpackage Zend_Cache_Backend |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: Test.php 24593 2012-01-05 20:35:02Z matthew $ |
20 * @version $Id$ |
21 */ |
21 */ |
22 |
22 |
23 |
23 |
24 /** |
24 /** |
25 * @see Zend_Cache_Backend_Interface |
25 * @see Zend_Cache_Backend_Interface |
32 require_once 'Zend/Cache/Backend.php'; |
32 require_once 'Zend/Cache/Backend.php'; |
33 |
33 |
34 /** |
34 /** |
35 * @package Zend_Cache |
35 * @package Zend_Cache |
36 * @subpackage Zend_Cache_Backend |
36 * @subpackage Zend_Cache_Backend |
37 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
37 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
38 * @license http://framework.zend.com/license/new-bsd New BSD License |
38 * @license http://framework.zend.com/license/new-bsd New BSD License |
39 */ |
39 */ |
40 class Zend_Cache_Backend_Test extends Zend_Cache_Backend implements Zend_Cache_Backend_ExtendedInterface |
40 class Zend_Cache_Backend_Test extends Zend_Cache_Backend implements Zend_Cache_Backend_ExtendedInterface |
41 { |
41 { |
42 /** |
42 /** |
123 if ( $id == '71769f39054f75894288e397df04e445' || $id == '615d222619fb20b527168340cebd0578' |
123 if ( $id == '71769f39054f75894288e397df04e445' || $id == '615d222619fb20b527168340cebd0578' |
124 || $id == '8a02d218a5165c467e7a5747cc6bd4b6' || $id == '648aca1366211d17cbf48e65dc570bee' |
124 || $id == '8a02d218a5165c467e7a5747cc6bd4b6' || $id == '648aca1366211d17cbf48e65dc570bee' |
125 || $id == '4a923ef02d7f997ca14d56dfeae25ea7') { |
125 || $id == '4a923ef02d7f997ca14d56dfeae25ea7') { |
126 return serialize(array('foo', 'bar')); |
126 return serialize(array('foo', 'bar')); |
127 } |
127 } |
|
128 if ( $id == 'f53c7d912cc523d9a65834c8286eceb9') { |
|
129 return serialize(array('foobar')); |
|
130 } |
128 return 'foo'; |
131 return 'foo'; |
129 } |
132 } |
130 |
133 |
131 /** |
134 /** |
132 * Test if a cache is available or not (for the given id) |
135 * Test if a cache is available or not (for the given id) |