1: <?php
2: /**
3: * The Horde_Token_Null:: class provides a null implementation of the token
4: * driver.
5: *
6: * Copyright 2010-2012 Horde LLC (http://www.horde.org/)
7: *
8: * See the enclosed file COPYING for license information (LGPL). If you
9: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
10: *
11: * @author Michael Slusarz <slusarz@horde.org>
12: * @category Horde
13: * @package Token
14: */
15: class Horde_Token_Null extends Horde_Token_Base
16: {
17: /**
18: * Does the token exist?
19: *
20: * @return boolean True if the token exists.
21: */
22: public function exists($tokenID)
23: {
24: return false;
25: }
26:
27: /**
28: * Add a token ID.
29: *
30: * @param string $tokenID Token ID to add.
31: */
32: public function add($tokenID)
33: {
34: }
35:
36: /**
37: * Delete all expired connection IDs.
38: */
39: public function purge()
40: {
41: }
42: }
43: