1: <?php
2: /**
3: * Copyright 2011-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 2011-2014 Horde LLC
10: * @license http://www.horde.org/licenses/gpl GPL
11: * @package IMP
12: */
13:
14: /**
15: * Filter for messages sent from addresses contained within a user's personal
16: * contacts.
17: *
18: * @author Michael Slusarz <slusarz@horde.org>
19: * @category Horde
20: * @copyright 2011-2014 Horde LLC
21: * @license http://www.horde.org/licenses/gpl GPL
22: * @package IMP
23: */
24: class IMP_Search_Filter_Contacts extends IMP_Search_Filter_Builtin
25: {
26: /**
27: */
28: protected function _init()
29: {
30: $this->_id = 'filter_contacts';
31: $this->_label = _("Messages From Personal Contacts");
32:
33: $this->add(new IMP_Search_Element_Contacts());
34: }
35:
36: }
37: