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: * This class implements the junk flag.
16: * See: http://www.ietf.org/mail-archive/web/morg/current/msg00441.html
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_Flag_Imap_Junk extends IMP_Flag_Imap
25: {
26: /**
27: */
28: protected $_abbreviation = 'J';
29:
30: /**
31: */
32: protected $_css = 'flagJunk';
33:
34: /**
35: */
36: protected $_imapflag = '$junk';
37:
38: /**
39: */
40: protected function _getLabel()
41: {
42: return _("Junk");
43: }
44:
45: }
46: