friendica/src/Model/Notify/Type.php

40 lines
1.1 KiB
PHP
Raw Normal View History

2020-02-04 21:03:45 +00:00
<?php
namespace Friendica\Model\Notify;
/**
* Enum for different types of the Notify
*/
class Type
{
2020-02-04 21:07:10 +00:00
/** @var int Notification about a introduction */
2020-02-04 21:23:37 +00:00
const INTRO = 1;
2020-02-04 21:05:56 +00:00
/** @var int Notification about a confirmed introduction */
const CONFIRM = 2;
2020-02-04 21:07:10 +00:00
/** @var int Notification about a post on your wall */
const WALL = 4;
2020-02-04 21:09:00 +00:00
/** @var int Notification about a followup comment */
const COMMENT = 8;
2020-02-04 21:10:19 +00:00
/** @var int Notification about a private message */
const MAIL = 16;
2020-02-04 21:11:11 +00:00
/** @var int Notification about a friend suggestion */
const SUGGEST = 32;
2020-02-04 21:13:06 +00:00
/** @var int Unknown Notification
* @deprecated
*/
const PROFILE = 64;
/** @var int Notification about being tagged in a post */
const TAG_SELF = 128;
2020-02-04 21:14:42 +00:00
/** @var int Notification about being tagged
* @deprecated
*/
const TAG_SHARE = 256;
2020-02-04 21:15:33 +00:00
/** @var int Notification about getting poked/prodded/etc. */
const POKE = 512;
2020-02-04 21:21:02 +00: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 21:23:37 +00:00
/** @var int Global System notifications */
const SYSTEM = 32768;
2020-02-04 21:03:45 +00:00
}