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