friendica/src/Model/Notification/Type.php

51 lines
1.7 KiB
PHP
Raw Normal View History

2020-02-04 22:03:45 +01:00
<?php
2020-02-09 15:45:36 +01:00
/**
2022-01-02 08:27:47 +01:00
* @copyright Copyright (C) 2010-2022, the Friendica project
2020-02-09 15:45:36 +01:00
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
2020-02-04 22:03:45 +01:00
namespace Friendica\Model\Notification;
2020-02-04 22:03:45 +01:00
/**
* Enum for different types of the Notify
*/
class Type
{
2020-02-04 22:07:10 +01:00
/** @var int Notification about a introduction */
2020-02-04 22:23:37 +01:00
const INTRO = 1;
2020-02-04 22:05:56 +01:00
/** @var int Notification about a confirmed introduction */
const CONFIRM = 2;
2020-02-04 22:07:10 +01:00
/** @var int Notification about a post on your wall */
const WALL = 4;
2020-02-04 22:09:00 +01:00
/** @var int Notification about a followup comment */
const COMMENT = 8;
2020-02-04 22:10:19 +01:00
/** @var int Notification about a private message */
const MAIL = 16;
2020-02-04 22:11:11 +01:00
/** @var int Notification about a friend suggestion */
const SUGGEST = 32;
2020-02-04 22:13:06 +01:00
/** @var int Notification about being tagged in a post */
const TAG_SELF = 128;
2022-08-09 19:21:42 +02:00
/** @var int Notification about getting poked/prodded/etc. (Obsolete) */
2020-02-04 22:15:33 +01:00
const POKE = 512;
2020-02-04 22:21:02 +01:00
/** @var int Notification about either a contact had posted something directly or the contact is a mentioned forum */
const SHARE = 1024;
2020-02-04 22:23:37 +01:00
/** @var int Global System notifications */
const SYSTEM = 32768;
2020-02-04 22:03:45 +01:00
}