1: <?php
2: /**
3: * The Null implementation of Horde_Core_Auth_Signup.
4: *
5: * Copyright 2010-2012 Horde LLC (http://www.horde.org/)
6: *
7: * See the enclosed file COPYING for license information (LGPL). If you did
8: * not receive this file, see http://opensource.org/licenses/lgpl-2.1.php
9: *
10: * @author Michael Slusarz <slusarz@horde.org>
11: * @category Horde
12: * @license http://opensource.org/licenses/lgpl-2.1.php LGPL
13: * @package Core
14: */
15: class Horde_Core_Auth_Signup_Null extends Horde_Core_Auth_Signup_Base
16: {
17: /**
18: * Queues the user's submitted registration info for later admin approval.
19: *
20: * @param mixed $info Reference to array of parameters to be passed
21: * to hook.
22: */
23: protected function _queueSignup($info)
24: {
25: }
26:
27: /**
28: * Get a user's queued signup information.
29: *
30: * @param string $username The username to retrieve the queued info for.
31: *
32: * @return object The object for the requested signup.
33: */
34: public function getQueuedSignup($username)
35: {
36: return new Horde_Support_Stub();
37: }
38:
39: /**
40: * Get the queued information for all pending signups.
41: *
42: * @return array An array of objects, one for each signup in the queue.
43: */
44: public function getQueuedSignups()
45: {
46: return array();
47: }
48:
49: /**
50: * Remove a queued signup.
51: *
52: * @param string $username The user to remove from the signup queue.
53: */
54: public function removeQueuedSignup($username)
55: {
56: }
57:
58: /**
59: * Return a new signup object.
60: *
61: * @param string $name The signups's name.
62: *
63: * @return object A new signup object.
64: */
65: public function newSignup($name)
66: {
67: return new Horde_Support_Stub();
68: }
69:
70: }
71: