source: spip-zone/_plugins_/memoization/memo/nocache.inc @ 32462

Last change on this file since 32462 was 32462, checked in by fil@…, 11 years ago

nettoyage de l'API et appels moins cryptiques

File size: 691 bytes
Line 
1<?php
2
3/*
4mixed cache_get(string key)
5bool  cache_set(string key, mixed value [, int ttl])
6bool  cache_isset(string key)
7bool  cache_unset(string key)
8int   cache_inc(string key [, int value [, int ttl]])
9int   cache_dec(string key [, int value [, int ttl]])
10bool  cache_lock(string key)
11bool  cache_unlock(string key)
12*/
13
14function cache_get($key) {
15}
16
17function cache_set($key, $value, $ttl=null) {
18        return false;
19}
20
21function cache_isset($key) {
22        return false;
23}
24
25function cache_unset($key) {
26        return false;
27}
28
29function cache_inc($key) {
30        return 1;
31}
32
33function cache_dec($key) {
34        return -1;
35}
36
37function cache_lock($key) {
38        return false;
39}
40
41function cache_unlock($key) {
42        return false;
43}
44
45?>
Note: See TracBrowser for help on using the repository browser.