1: <?php
2: /**
3: * Copyright 2004-2012 Horde LLC (http://www.horde.org/)
4: *
5: * See the enclosed file LICENSE for license information (BSD). If you did not
6: * did not receive this file, see http://cvs.horde.org/co.php/vilma/LICENSE.
7: *
8: * @author David Cummings <davidcummings@acm.org>
9: * @package Vilma
10: */
11: class Vilma_MailboxDriver_Null extends Vilma_MailboxDriver
12: {
13: /**
14: * Creates a new mailbox.
15: *
16: * @param string $user The name of the mailbox to create.
17: * @param string $domain The name of the domain in which to create the
18: * mailbox.
19: */
20: public function createMailbox($user, $domain)
21: {
22: }
23:
24: /**
25: * Deletes an existing mailbox.
26: *
27: * @param string $user The name of the mailbox to delete.
28: * @param string $domain The name of the domain in which to delete the
29: * mailbox.
30: */
31: public function deleteMailbox($user, $domain)
32: {
33: }
34:
35: /**
36: * Checks whether a mailbox exists and is set up properly.
37: *
38: * @param string $user The name of the mailbox to check.
39: * @param string $domain The mailbox' domain.
40: *
41: * @return boolean True if the mailbox exists.
42: */
43: public function checkMailbox($user, $domain)
44: {
45: return true;
46: }
47: }
48: