]> git.mxchange.org Git - friendica.git/blob - src/Protocol/Activity/ObjectType.php
Add docs
[friendica.git] / src / Protocol / Activity / ObjectType.php
1 <?php
2
3 namespace Friendica\Protocol\Activity;
4
5 /**
6  * This class contains the different object types in activities
7  */
8 final class ObjectType
9 {
10         /**
11          * The "bookmark" object type represents a pointer to some URL -- typically a web page.
12          *
13          * @see http://activitystrea.ms/head/activity-schema.html#bookmark
14          * @var string
15          */
16         const BOOKMARK = ANamespace::ACTIVITY_SCHEMA . 'bookmark';
17         /**
18          * The "comment" object type represents a textual response to another object.
19          *
20          * @see http://activitystrea.ms/head/activity-schema.html#comment
21          * @var string
22          */
23         const COMMENT = ANamespace::ACTIVITY_SCHEMA . 'comment';
24         /**
25          * The "comment" object type represents a textual response to another object.
26          * (Default type for items)
27          *
28          * @see http://activitystrea.ms/head/activity-schema.html#note
29          * @var string
30          */
31         const NOTE = ANamespace::ACTIVITY_SCHEMA . 'note';
32         /**
33          * The "person" object type represents a user account.
34          *
35          * @see http://activitystrea.ms/head/activity-schema.html#person
36          * @var string
37          */
38         const PERSON = ANamespace::ACTIVITY_SCHEMA . 'person';
39         /**
40          * The "image" object type represents a graphical image.
41          *
42          * @see http://activitystrea.ms/head/activity-schema.html#image
43          * @var string
44          */
45         const IMAGE = ANamespace::ACTIVITY_SCHEMA . 'image';
46         /**
47          * @var string
48          */
49         const PHOTO = ANamespace::ACTIVITY_SCHEMA . 'photo';
50         /**
51          * The "video" object type represents video content,
52          * which usually consists of a motion picture track and an audio track.
53          *
54          * @see http://activitystrea.ms/head/activity-schema.html#video
55          * @var string
56          */
57         const VIDEO = ANamespace::ACTIVITY_SCHEMA . 'video';
58         /**
59          * @var string
60          */
61         const PROFILE_PHOTO = ANamespace::ACTIVITY_SCHEMA . 'profile-photo';
62         /**
63          * @var string
64          */
65         const ALBUM = ANamespace::ACTIVITY_SCHEMA . 'photo-album';
66         /**
67          * The "event" object type represents an event that occurs in a certain place during a particular interval of time.
68          *
69          * @see http://activitystrea.ms/head/activity-schema.html#event
70          * @var string
71          */
72         const EVENT = ANamespace::ACTIVITY_SCHEMA . 'event';
73         /**
74          * The "group" object type represents a grouping of objects in which member objects can join or leave.
75          *
76          * @see http://activitystrea.ms/head/activity-schema.html#group
77          * @var string
78          */
79         const GROUP = ANamespace::ACTIVITY_SCHEMA . 'group';
80
81
82         /**
83          * @var string
84          */
85         const HEART = ANamespace::DFRN . '/heart';
86         /**
87          * @var string
88          */
89         const TAGTERM = ANamespace::DFRN . '/tagterm';
90         /**
91          * @var string
92          */
93         const PROFILE = ANamespace::DFRN . '/profile';
94
95
96         /**
97          * The "question" object type represents a question or poll.
98          *
99          * @see http://activitystrea.ms/head/activity-schema.html#question
100          * @var string
101          */
102         const QUESTION = 'http://activityschema.org/object/question';
103 }