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

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

version 0.4 on passe en tests et avc de la doc

File size: 703 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
16function cache_set($key, $value, $ttl=null) {
17        return false;
18}
19
20function cache_isset($key) {
21        return false;
22}
23
24function cache_unset($key) {
25        return false;
26}
27
28function cache_inc($key, $value=null, $ttl=null) {
29        return 0;
30}
31
32function cache_dec($key, $value=null, $ttl=null) {
33        return 0;
34}
35
36function cache_lock($key) {}
37
38function cache_unlock($key) {}
39
40?>
Note: See TracBrowser for help on using the repository browser.