1: <?php
2: /**
3: * This class provides a filter for messages sent from addresses contained
4: * within a user's personal contacts.
5: *
6: * Copyright 2011-2012 Horde LLC (http://www.horde.org/)
7: *
8: * See the enclosed file COPYING for license information (GPL). If you
9: * did not receive this file, see http://www.horde.org/licenses/gpl.
10: *
11: * @author Michael Slusarz <slusarz@horde.org>
12: * @category Horde
13: * @license http://www.horde.org/licenses/gpl GPL
14: * @package IMP
15: */
16: class IMP_Search_Filter_Contacts extends IMP_Search_Filter_Builtin
17: {
18: /**
19: */
20: protected function _init()
21: {
22: $this->_id = 'filter_contacts';
23: $this->_label = _("Messages From Personal Contacts");
24:
25: $this->add(new IMP_Search_Element_Contacts());
26: }
27:
28: }
29: