1 : <?php
2 :
3 : /**
4 : * PHPIDS
5 : *
6 : * Requirements: PHP5, SimpleXML
7 : *
8 : * Copyright (c) 2008 PHPIDS group (http://php-ids.org)
9 : *
10 : * PHPIDS is free software; you can redistribute it and/or modify
11 : * it under the terms of the GNU Lesser General Public License as published by
12 : * the Free Software Foundation, version 3 of the License, or
13 : * (at your option) any later version.
14 : *
15 : * PHPIDS is distributed in the hope that it will be useful,
16 : * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 : * GNU Lesser General Public License for more details.
19 : *
20 : * You should have received a copy of the GNU Lesser General Public License
21 : * along with PHPIDS. If not, see <http://www.gnu.org/licenses/>.
22 : *
23 : * PHP version 5.1.6+
24 : *
25 : * @category Security
26 : * @package PHPIDS
27 : * @author Mario Heiderich <mario.heiderich@gmail.com>
28 : * @author Christian Matthies <ch0012@gmail.com>
29 : * @author Lars Strojny <lars@strojny.net>
30 : * @license http://www.gnu.org/licenses/lgpl.html LGPL
31 : * @link http://php-ids.org/
32 : */
33 :
34 : /**
35 : * Caching wrapper interface
36 : *
37 : * @category Security
38 : * @package PHPIDS
39 : * @author Christian Matthies <ch0012@gmail.com>
40 : * @author Mario Heiderich <mario.heiderich@gmail.com>
41 : * @author Lars Strojny <lars@strojny.net>
42 : * @copyright 2007 The PHPIDS Group
43 : * @version SVN: $Id:Interface.php 517 2007-09-15 15:04:13Z mario $
44 : * @license http://www.gnu.org/licenses/lgpl.html LGPL
45 : * @since Version 0.4
46 : * @link http://php-ids.org/
47 : */
48 1 : interface IDS_Caching_Interface
49 : {
50 : /**
51 : * Interface method
52 : *
53 : * @param array $data the cache data
54 : *
55 : * @return void
56 : */
57 : public function setCache(array $data);
58 :
59 : /**
60 : * Interface method
61 : *
62 : * @return void
63 : */
64 : public function getCache();
65 : }
66 :
67 : /*
68 : * Local variables:
69 : * tab-width: 4
70 : * c-basic-offset: 4
71 : * End:
|