MetaFoxPrivacy
in package
Class MetaFoxPrivacy.
Table of Contents
Constants
- CUSTOM = 10
- EVERYONE = 0
- FRIENDS = 2
- FRIENDS_OF_FRIENDS = 3
- ID_EVERYONE = 1
- ID_FRIENDS_OF_FRIENDS = 3
- ID_NETWORK_MEMBER = 2
- MEMBERS = 1
- NETWORK_FRIEND_OF_FRIENDS_ID = 3
- NETWORK_MEMBERS_PRIVACY_ID = 2
- NETWORK_PUBLIC_PRIVACY_ID = 1
- ONLY_ME = 4
- PRIVACY_CUSTOM_ICON = 'ico-gear'
- PRIVACY_CUSTOM_MOBILE_ICON = 'gear'
- PRIVACY_FRIENDS_ICON = 'ico-user-two-men'
- PRIVACY_FRIENDS_MOBILE_ICON = 'user-two-men'
- PRIVACY_FRIENDS_OF_FRIENDS_ICON = 'ico-user-man-three'
- PRIVACY_FRIENDS_OF_FRIENDS_MOBILE_ICON = 'user1-three'
- PRIVACY_MEMBERS_ICON = 'ico-user-circle'
- PRIVACY_MEMBERS_MOBILE_ICON = 'user-circle'
- PRIVACY_NETWORK_FRIEND_OF_FRIENDS = 'friend_of_friends'
- PRIVACY_NETWORK_ITEM_ID = 0
- PRIVACY_NETWORK_ITEM_TYPE = 'sitewide'
- PRIVACY_NETWORK_MEMBER = 'member'
- PRIVACY_NETWORK_PUBLIC = 'sitewide_public'
- PRIVACY_ONLY_ME_ICON = 'ico-lock'
- PRIVACY_ONLY_ME_MOBILE_ICON = 'lock'
- PRIVACY_PUBLIC_ICON = 'ico-globe-o'
- PRIVACY_PUBLIC_MOBILE_ICON = 'globe'
Methods
- getItemPrivacy() : array<int, string>
- getPrivacy() : array<int, string>
- getUserPrivacy() : array<int, string>
Constants
CUSTOM
public
mixed
CUSTOM
= 10
EVERYONE
public
mixed
EVERYONE
= 0
FRIENDS
public
mixed
FRIENDS
= 2
FRIENDS_OF_FRIENDS
public
mixed
FRIENDS_OF_FRIENDS
= 3
ID_EVERYONE
public
mixed
ID_EVERYONE
= 1
ID_FRIENDS_OF_FRIENDS
public
mixed
ID_FRIENDS_OF_FRIENDS
= 3
ID_NETWORK_MEMBER
public
mixed
ID_NETWORK_MEMBER
= 2
MEMBERS
public
mixed
MEMBERS
= 1
NETWORK_FRIEND_OF_FRIENDS_ID
public
mixed
NETWORK_FRIEND_OF_FRIENDS_ID
= 3
NETWORK_MEMBERS_PRIVACY_ID
public
mixed
NETWORK_MEMBERS_PRIVACY_ID
= 2
NETWORK_PUBLIC_PRIVACY_ID
public
mixed
NETWORK_PUBLIC_PRIVACY_ID
= 1
ONLY_ME
public
mixed
ONLY_ME
= 4
PRIVACY_CUSTOM_ICON
public
mixed
PRIVACY_CUSTOM_ICON
= 'ico-gear'
PRIVACY_CUSTOM_MOBILE_ICON
public
mixed
PRIVACY_CUSTOM_MOBILE_ICON
= 'gear'
PRIVACY_FRIENDS_ICON
public
mixed
PRIVACY_FRIENDS_ICON
= 'ico-user-two-men'
PRIVACY_FRIENDS_MOBILE_ICON
public
mixed
PRIVACY_FRIENDS_MOBILE_ICON
= 'user-two-men'
PRIVACY_FRIENDS_OF_FRIENDS_ICON
public
mixed
PRIVACY_FRIENDS_OF_FRIENDS_ICON
= 'ico-user-man-three'
PRIVACY_FRIENDS_OF_FRIENDS_MOBILE_ICON
public
mixed
PRIVACY_FRIENDS_OF_FRIENDS_MOBILE_ICON
= 'user1-three'
PRIVACY_MEMBERS_ICON
public
mixed
PRIVACY_MEMBERS_ICON
= 'ico-user-circle'
PRIVACY_MEMBERS_MOBILE_ICON
public
mixed
PRIVACY_MEMBERS_MOBILE_ICON
= 'user-circle'
PRIVACY_NETWORK_FRIEND_OF_FRIENDS
public
mixed
PRIVACY_NETWORK_FRIEND_OF_FRIENDS
= 'friend_of_friends'
PRIVACY_NETWORK_ITEM_ID
public
mixed
PRIVACY_NETWORK_ITEM_ID
= 0
PRIVACY_NETWORK_ITEM_TYPE
public
mixed
PRIVACY_NETWORK_ITEM_TYPE
= 'sitewide'
PRIVACY_NETWORK_MEMBER
public
mixed
PRIVACY_NETWORK_MEMBER
= 'member'
PRIVACY_NETWORK_PUBLIC
public
mixed
PRIVACY_NETWORK_PUBLIC
= 'sitewide_public'
PRIVACY_ONLY_ME_ICON
public
mixed
PRIVACY_ONLY_ME_ICON
= 'ico-lock'
PRIVACY_ONLY_ME_MOBILE_ICON
public
mixed
PRIVACY_ONLY_ME_MOBILE_ICON
= 'lock'
PRIVACY_PUBLIC_ICON
public
mixed
PRIVACY_PUBLIC_ICON
= 'ico-globe-o'
PRIVACY_PUBLIC_MOBILE_ICON
public
mixed
PRIVACY_PUBLIC_MOBILE_ICON
= 'globe'
Methods
getItemPrivacy()
public
static getItemPrivacy() : array<int, string>
Return values
array<int, string>getPrivacy()
public
static getPrivacy() : array<int, string>
Return values
array<int, string>getUserPrivacy()
public
static getUserPrivacy([array<string|int, mixed> $excludes = [] ]) : array<int, string>
Parameters
- $excludes : array<string|int, mixed> = []