]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Activity/ObjectType.php
Merge pull request #13646 from annando/page-drop
[friendica.git] / src / Protocol / Activity / ObjectType.php
index 71c7a215766b1041e0230870e5779810489044e9..daefb46086e249779a2e8f728c90a9f8059b1e41 100644 (file)
@@ -1,7 +1,28 @@
 <?php
+/**
+ * @copyright Copyright (C) 2010-2023, the Friendica project
+ *
+ * @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/>.
+ *
+ */
 
 namespace Friendica\Protocol\Activity;
 
+use Friendica\Protocol\ActivityNamespace;
+
 /**
  * This class contains the different object types in activities
  */
@@ -13,14 +34,14 @@ final class ObjectType
         * @see http://activitystrea.ms/head/activity-schema.html#bookmark
         * @var string
         */
-       const BOOKMARK = ANamespace::ACTIVITY_SCHEMA . 'bookmark';
+       const BOOKMARK = ActivityNamespace::ACTIVITY_SCHEMA . 'bookmark';
        /**
         * The "comment" object type represents a textual response to another object.
         *
         * @see http://activitystrea.ms/head/activity-schema.html#comment
         * @var string
         */
-       const COMMENT = ANamespace::ACTIVITY_SCHEMA . 'comment';
+       const COMMENT = ActivityNamespace::ACTIVITY_SCHEMA . 'comment';
        /**
         * The "comment" object type represents a textual response to another object.
         * (Default type for items)
@@ -28,25 +49,25 @@ final class ObjectType
         * @see http://activitystrea.ms/head/activity-schema.html#note
         * @var string
         */
-       const NOTE = ANamespace::ACTIVITY_SCHEMA . 'note';
+       const NOTE = ActivityNamespace::ACTIVITY_SCHEMA . 'note';
        /**
         * The "person" object type represents a user account.
         *
         * @see http://activitystrea.ms/head/activity-schema.html#person
         * @var string
         */
-       const PERSON = ANamespace::ACTIVITY_SCHEMA . 'person';
+       const PERSON = ActivityNamespace::ACTIVITY_SCHEMA . 'person';
        /**
         * The "image" object type represents a graphical image.
         *
         * @see http://activitystrea.ms/head/activity-schema.html#image
         * @var string
         */
-       const IMAGE = ANamespace::ACTIVITY_SCHEMA . 'image';
+       const IMAGE = ActivityNamespace::ACTIVITY_SCHEMA . 'image';
        /**
         * @var string
         */
-       const PHOTO = ANamespace::ACTIVITY_SCHEMA . 'photo';
+       const PHOTO = ActivityNamespace::ACTIVITY_SCHEMA . 'photo';
        /**
         * The "video" object type represents video content,
         * which usually consists of a motion picture track and an audio track.
@@ -54,43 +75,43 @@ final class ObjectType
         * @see http://activitystrea.ms/head/activity-schema.html#video
         * @var string
         */
-       const VIDEO = ANamespace::ACTIVITY_SCHEMA . 'video';
+       const VIDEO = ActivityNamespace::ACTIVITY_SCHEMA . 'video';
        /**
         * @var string
         */
-       const PROFILE_PHOTO = ANamespace::ACTIVITY_SCHEMA . 'profile-photo';
+       const PROFILE_PHOTO = ActivityNamespace::ACTIVITY_SCHEMA . 'profile-photo';
        /**
         * @var string
         */
-       const ALBUM = ANamespace::ACTIVITY_SCHEMA . 'photo-album';
+       const ALBUM = ActivityNamespace::ACTIVITY_SCHEMA . 'photo-album';
        /**
         * The "event" object type represents an event that occurs in a certain place during a particular interval of time.
         *
         * @see http://activitystrea.ms/head/activity-schema.html#event
         * @var string
         */
-       const EVENT = ANamespace::ACTIVITY_SCHEMA . 'event';
+       const EVENT = ActivityNamespace::ACTIVITY_SCHEMA . 'event';
        /**
         * The "group" object type represents a grouping of objects in which member objects can join or leave.
         *
         * @see http://activitystrea.ms/head/activity-schema.html#group
         * @var string
         */
-       const GROUP = ANamespace::ACTIVITY_SCHEMA . 'group';
+       const GROUP = ActivityNamespace::ACTIVITY_SCHEMA . 'group';
 
 
        /**
         * @var string
         */
-       const HEART = ANamespace::DFRN . '/heart';
+       const HEART = ActivityNamespace::DFRN . '/heart';
        /**
         * @var string
         */
-       const TAGTERM = ANamespace::DFRN . '/tagterm';
+       const TAGTERM = ActivityNamespace::DFRN . '/tagterm';
        /**
         * @var string
         */
-       const PROFILE = ANamespace::DFRN . '/profile';
+       const PROFILE = ActivityNamespace::DFRN . '/profile';
 
 
        /**