Update copyright
[friendica.git/.git] / src / Model / Notification / Type.php
1 <?php
2 /**
3  * @copyright Copyright (C) 2010-2021, the Friendica project
4  *
5  * @license GNU AGPL version 3 or any later version
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU Affero General Public License as
9  * published by the Free Software Foundation, either version 3 of the
10  * License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU Affero General Public License for more details.
16  *
17  * You should have received a copy of the GNU Affero General Public License
18  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
19  *
20  */
21
22 namespace Friendica\Model\Notification;
23
24 /**
25  * Enum for different types of the Notify
26  */
27 class Type
28 {
29         /** @var int Notification about a introduction */
30         const INTRO = 1;
31         /** @var int Notification about a confirmed introduction */
32         const CONFIRM = 2;
33         /** @var int Notification about a post on your wall */
34         const WALL = 4;
35         /** @var int Notification about a followup comment */
36         const COMMENT = 8;
37         /** @var int Notification about a private message */
38         const MAIL = 16;
39         /** @var int Notification about a friend suggestion */
40         const SUGGEST = 32;
41         /** @var int Unknown Notification
42          * @deprecated
43          */
44         const PROFILE = 64;
45         /** @var int Notification about being tagged in a post */
46         const TAG_SELF = 128;
47         /** @var int Notification about being tagged
48          * @deprecated
49          */
50         const TAG_SHARE = 256;
51         /** @var int Notification about getting poked/prodded/etc. */
52         const POKE = 512;
53         /** @var int Notification about either a contact had posted something directly or the contact is a mentioned forum */
54         const SHARE = 1024;
55
56         /** @var int Global System notifications */
57         const SYSTEM = 32768;
58 }