]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/User.php
Move Contact::Page_* constants to User::PAGE_FLAGS_*
[friendica.git] / src / Model / User.php
index 80cae7b0d2561feb94b07b7e785115344990e97e..dd754fb46e5a0343169a94e3933925d05a980162 100644 (file)
@@ -28,6 +28,26 @@ use LightOpenID;
  */
 class User
 {
+       /**
+        * @name page/profile types
+        *
+        * PAGE_NORMAL is a typical personal profile account
+        * PAGE_SOAPBOX automatically approves all friend requests as Contact::SHARING, (readonly)
+        * PAGE_COMMUNITY automatically approves all friend requests as Contact::SHARING, but with
+        *      write access to wall and comments (no email and not included in page owner's ACL lists)
+        * PAGE_FREELOVE automatically approves all friend requests as full friends (Contact::FRIEND).
+        *
+        * @{
+        */
+       const PAGE_FLAGS_NORMAL    = 0;
+       const PAGE_FLAGS_SOAPBOX   = 1;
+       const PAGE_FLAGS_COMMUNITY = 2;
+       const PAGE_FLAGS_FREELOVE  = 3;
+       const PAGE_FLAGS_BLOG      = 4;
+       const PAGE_FLAGS_PRVGROUP  = 5;
+       /**
+        * @}
+        */
        /**
         * Returns true if a user record exists with the provided id
         *