mirror of
https://github.com/friendica/friendica
synced 2025-04-23 17:50:16 +00:00
Move Contact::Page_* constants to User::PAGE_FLAGS_*
This commit is contained in:
parent
11a4a57bfe
commit
ad9c67663d
23 changed files with 126 additions and 86 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue