1: <?php
2: /**
3: * Copyright 2013-2014 Horde LLC (http://www.horde.org/)
4: *
5: * See the enclosed file COPYING for license information (GPL). If you
6: * did not receive this file, see http://www.horde.org/licenses/gpl.
7: *
8: * @category Horde
9: * @copyright 2013-2014 Horde LLC
10: * @license http://www.horde.org/licenses/gpl GPL
11: * @package IMP
12: */
13:
14: /**
15: * Implementation of the account object for an INBOX-only server.
16: *
17: * @author Michael Slusarz <slusarz@horde.org>
18: * @category Horde
19: * @copyright 2013-2014 Horde LLC
20: * @license http://www.horde.org/licenses/gpl GPL
21: * @package IMP
22: */
23: class IMP_Ftree_Account_Inboxonly extends IMP_Ftree_Account
24: {
25: /**
26: */
27: public function getList($query = array(), $mask = 0)
28: {
29: return array(
30: array(
31: 'a' => IMP_Ftree::ELT_IS_SUBSCRIBED,
32: 'v' => 'INBOX'
33: )
34: );
35: }
36:
37: /**
38: */
39: public function delete(IMP_Ftree_Element $elt)
40: {
41: return 0;
42: }
43:
44: }
45: