1<?php
2/**
3 * Copyright 2010-2017 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 2010-2017 Horde LLC
10 * @license   http://www.horde.org/licenses/gpl GPL
11 * @package   IMP
12 */
13
14/**
15 * Filter for messages with attachments.
16 *
17 * @author    Michael Slusarz <slusarz@horde.org>
18 * @category  Horde
19 * @copyright 2010-2017 Horde LLC
20 * @license   http://www.horde.org/licenses/gpl GPL
21 * @package   IMP
22 */
23class IMP_Search_Filter_Attachment extends IMP_Search_Filter_Builtin
24{
25    /**
26     */
27    protected function _init()
28    {
29        $this->_id = 'filter_attach';
30        $this->_label = _("Messages with Attachments");
31
32        $this->add(new IMP_Search_Element_Attachment());
33    }
34
35}
36