MetaFoxConstant
in package
Class MetaFoxConstant.
Table of Contents
Constants
- BACKEND_WRAP_NAME = 'backend'
- BLANK_SPACE = ' '
- CACHE_TIME = 3000
- CENTER = 'center'
- CHARACTER_LIMIT = 155
- CONTENT_PARSING_REGEX = '/\\[%s=(\\d+)\\](.+?)\\[\\/%s\\]/u'
- DEFAULT_API_VERSION = 'v1'
- DEFAULT_CURRENCY_ID = 'USD'
- DEFAULT_CURRENCY_SYMBOL = '$'
- DEFAULT_LIMIT_FRIEND_REQUEST = 10
- DEFAULT_MAX_CATEGORY_TITLE_LENGTH = 255
- DEFAULT_MAX_SHORT_DESCRIPTION_LENGTH = 255
- DEFAULT_MAX_TITLE_LENGTH = 255
- DEFAULT_MIN_TITLE_LENGTH = 1
- DISPLAY_FORMAT_TIME = 'DD/MM/YYYY'
- DISPLAY_FORMAT_TIME_12 = 'DD/MM/YYYY - hh:mm A'
- DISPLAY_FORMAT_TIME_24 = 'DD/MM/YYYY - HH:mm'
- EMAIL_REGEX = '^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$'
- EMPTY_STRING = ''
- FILE_CREATE_STATUS = 'create'
- FILE_NEW_STATUS = 'new'
- FILE_REMOVE_STATUS = 'remove'
- FILE_UPDATE_STATUS = 'update'
- FRONTEND_WRAP_NAME = 'frontend'
- GENDER_FEMALE = 2
- GENDER_MALE = 1
- GENDER_OTHERS = 127
- GUEST_USER_ID = 0
- HTML_ENTITIES_GREATER_THAN = '>'
- HTML_ENTITIES_LESSER_THAN = '<'
- IS_ACTIVE = 1
- IS_INACTIVE = 0
- IS_NOT_PUBLIC = 0
- IS_PUBLIC = 1
- ITEM_STATUS_APPROVED = 'approved'
- ITEM_STATUS_DENIED = 'denied'
- ITEM_STATUS_PENDING = 'pending'
- ITEM_STATUS_REMOVED = 'removed'
- LEFT = 'left'
- LIVESTREAMING_SERVICE_TYPE = 'livestreaming-service'
- MAX_CATEGORY_LEVEL = 3
- MAX_NUMBER_OF_FILES = 5
- NESTED_ARRAY_SEPARATOR = '=>'
- ONE_WAY_FRIENDSHIPS = 1
- PACKAGE_PRIORITY_DEFAULT = 100
- PAYMENT_STATUS_CANCELED = 'canceled'
- PAYMENT_STATUS_EXPIRED = 'expired'
- PAYMENT_STATUS_PENDING = 'pending'
- PAYMENT_STATUS_SUCCESS = 'success'
- PHONE_NUMBER_REGEX = '(^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$)|(\\+(9[976]\\d|8[987530]\\d|6[987]\\d|5[90]\\d|42\\d|3[875]\\d|2[98654321]\\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)\\W*\\d\\W*\\d\\W*\\d\\W*\\d\\W*\\d\\W*\\d\\W*\\d\\W*\\d\\W*(\\d{1,2}))$'
- PRIVACY_ICON = 'privacy_icon'
- PRODUCT_BUILD = '9'
- RELATION_COMPLICATED = 5
- RELATION_DIVORCED = 9
- RELATION_ENGAGED = 3
- RELATION_IN_A_OPEN_RELATIONSHIP = 6
- RELATION_IN_A_RELATIONSHIP = 10
- RELATION_MARRIED = 4
- RELATION_SEPARATED = 8
- RELATION_SINGLE = 2
- RELATION_UNKNOWN = 1
- RELATION_WIDOWED = 7
- RESOLUTION_ADMIN = 'admin'
- RESOLUTION_MOBILE = 'mobile'
- RESOLUTION_WEB = 'web'
- RESOURCE_IDENTIFIER_REGEX = '^[a-z][a-z0-9_]*[a-z0-9]$'
- |-------------------------------------------------------------------------- | Application Regex |-------------------------------------------------------------------------- | For global regex declaration |.
- RIGHT = 'right'
- SEPARATION_PERM = ':'
- SLUGIFY_FILTERS = ['/', ' ', '!', '@', '#', '$', '%', '^', '&', '*', '?', ',', '.', ':', ';', '`', '~', '(', ')', '{', '}', '[', ']', '=', '+', '\\', '|', '"', '<', '>']
- SLUGIFY_FILTERS_REPLACE = '-'
- SLUGIFY_REGEX = '^[a-z0-9]+(?:-[a-z0-9]+)*$'
- SORT_ASC = 'asc'
- SORT_DESC = 'desc'
- STATUS_APPROVED = 'approved'
- STATUS_FEATURED = 'featured'
- STATUS_NOT_APPROVED = 'not_approved'
- STATUS_ONLINE = 'online'
- STATUS_PENDING_APPROVAL = 'pending_approval'
- STATUS_PENDING_VERIFICATION_EMAIL = 'pending_verification_email'
- STATUS_PENDING_VERIFICATION_PHONE_NUMBER = 'pending_verification_phone_number'
- STORY_SERVICE_TYPE = 'story-service'
- TIME_Y_M_D = 'Y-m-d H:i:s'
- TWO_WAY_FRIENDSHIPS = 2
- VERSION = '5.1.8'
- VIDEO_SERVICE_DEFAULT = 'ffmpeg'
- VIDEO_SERVICE_TYPE = 'video-service'
- VIEW_10_NEAREST = 10
- VIEW_15_NEAREST = 15
- VIEW_20_NEAREST = 20
- VIEW_5_NEAREST = 5
- VIEW_FOLLOWER = 'follower'
- VIEW_FOLLOWING = 'following'
Constants
BACKEND_WRAP_NAME
public
mixed
BACKEND_WRAP_NAME
= 'backend'
BLANK_SPACE
public
mixed
BLANK_SPACE
= ' '
CACHE_TIME
public
mixed
CACHE_TIME
= 3000
CENTER
public
mixed
CENTER
= 'center'
CHARACTER_LIMIT
public
mixed
CHARACTER_LIMIT
= 155
CONTENT_PARSING_REGEX
public
mixed
CONTENT_PARSING_REGEX
= '/\\[%s=(\\d+)\\](.+?)\\[\\/%s\\]/u'
DEFAULT_API_VERSION
public
mixed
DEFAULT_API_VERSION
= 'v1'
DEFAULT_CURRENCY_ID
public
mixed
DEFAULT_CURRENCY_ID
= 'USD'
DEFAULT_CURRENCY_SYMBOL
public
mixed
DEFAULT_CURRENCY_SYMBOL
= '$'
DEFAULT_LIMIT_FRIEND_REQUEST
public
mixed
DEFAULT_LIMIT_FRIEND_REQUEST
= 10
DEFAULT_MAX_CATEGORY_TITLE_LENGTH
public
mixed
DEFAULT_MAX_CATEGORY_TITLE_LENGTH
= 255
DEFAULT_MAX_SHORT_DESCRIPTION_LENGTH
public
mixed
DEFAULT_MAX_SHORT_DESCRIPTION_LENGTH
= 255
DEFAULT_MAX_TITLE_LENGTH
public
mixed
DEFAULT_MAX_TITLE_LENGTH
= 255
DEFAULT_MIN_TITLE_LENGTH
public
mixed
DEFAULT_MIN_TITLE_LENGTH
= 1
DISPLAY_FORMAT_TIME
public
mixed
DISPLAY_FORMAT_TIME
= 'DD/MM/YYYY'
DISPLAY_FORMAT_TIME_12
public
mixed
DISPLAY_FORMAT_TIME_12
= 'DD/MM/YYYY - hh:mm A'
DISPLAY_FORMAT_TIME_24
public
mixed
DISPLAY_FORMAT_TIME_24
= 'DD/MM/YYYY - HH:mm'
EMAIL_REGEX
public
mixed
EMAIL_REGEX
= '^([a-zA-Z0-9_\\.\\-])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$'
EMPTY_STRING
public
mixed
EMPTY_STRING
= ''
FILE_CREATE_STATUS
public
mixed
FILE_CREATE_STATUS
= 'create'
FILE_NEW_STATUS
public
mixed
FILE_NEW_STATUS
= 'new'
FILE_REMOVE_STATUS
public
mixed
FILE_REMOVE_STATUS
= 'remove'
FILE_UPDATE_STATUS
public
mixed
FILE_UPDATE_STATUS
= 'update'
FRONTEND_WRAP_NAME
public
mixed
FRONTEND_WRAP_NAME
= 'frontend'
GENDER_FEMALE
public
mixed
GENDER_FEMALE
= 2
GENDER_MALE
public
mixed
GENDER_MALE
= 1
GENDER_OTHERS
public
mixed
GENDER_OTHERS
= 127
GUEST_USER_ID
public
mixed
GUEST_USER_ID
= 0
HTML_ENTITIES_GREATER_THAN
public
mixed
HTML_ENTITIES_GREATER_THAN
= '>'
HTML_ENTITIES_LESSER_THAN
public
mixed
HTML_ENTITIES_LESSER_THAN
= '<'
IS_ACTIVE
public
mixed
IS_ACTIVE
= 1
IS_INACTIVE
public
mixed
IS_INACTIVE
= 0
IS_NOT_PUBLIC
public
mixed
IS_NOT_PUBLIC
= 0
IS_PUBLIC
public
mixed
IS_PUBLIC
= 1
ITEM_STATUS_APPROVED
public
mixed
ITEM_STATUS_APPROVED
= 'approved'
ITEM_STATUS_DENIED
public
mixed
ITEM_STATUS_DENIED
= 'denied'
ITEM_STATUS_PENDING
public
mixed
ITEM_STATUS_PENDING
= 'pending'
ITEM_STATUS_REMOVED
public
mixed
ITEM_STATUS_REMOVED
= 'removed'
LEFT
public
mixed
LEFT
= 'left'
LIVESTREAMING_SERVICE_TYPE
public
mixed
LIVESTREAMING_SERVICE_TYPE
= 'livestreaming-service'
MAX_CATEGORY_LEVEL
public
mixed
MAX_CATEGORY_LEVEL
= 3
MAX_NUMBER_OF_FILES
public
mixed
MAX_NUMBER_OF_FILES
= 5
NESTED_ARRAY_SEPARATOR
public
mixed
NESTED_ARRAY_SEPARATOR
= '=>'
ONE_WAY_FRIENDSHIPS
public
mixed
ONE_WAY_FRIENDSHIPS
= 1
PACKAGE_PRIORITY_DEFAULT
public
mixed
PACKAGE_PRIORITY_DEFAULT
= 100
PAYMENT_STATUS_CANCELED
public
mixed
PAYMENT_STATUS_CANCELED
= 'canceled'
PAYMENT_STATUS_EXPIRED
public
mixed
PAYMENT_STATUS_EXPIRED
= 'expired'
PAYMENT_STATUS_PENDING
public
mixed
PAYMENT_STATUS_PENDING
= 'pending'
PAYMENT_STATUS_SUCCESS
public
mixed
PAYMENT_STATUS_SUCCESS
= 'success'
PHONE_NUMBER_REGEX
public
mixed
PHONE_NUMBER_REGEX
= '(^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$)|(\\+(9[976]\\d|8[987530]\\d|6[987]\\d|5[90]\\d|42\\d|3[875]\\d|2[98654321]\\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)\\W*\\d\\W*\\d\\W*\\d\\W*\\d\\W*\\d\\W*\\d\\W*\\d\\W*\\d\\W*(\\d{1,2}))$'
PRIVACY_ICON
public
mixed
PRIVACY_ICON
= 'privacy_icon'
PRODUCT_BUILD
public
mixed
PRODUCT_BUILD
= '9'
RELATION_COMPLICATED
public
mixed
RELATION_COMPLICATED
= 5
RELATION_DIVORCED
public
mixed
RELATION_DIVORCED
= 9
RELATION_ENGAGED
public
mixed
RELATION_ENGAGED
= 3
RELATION_IN_A_OPEN_RELATIONSHIP
public
mixed
RELATION_IN_A_OPEN_RELATIONSHIP
= 6
RELATION_IN_A_RELATIONSHIP
public
mixed
RELATION_IN_A_RELATIONSHIP
= 10
RELATION_MARRIED
public
mixed
RELATION_MARRIED
= 4
RELATION_SEPARATED
public
mixed
RELATION_SEPARATED
= 8
RELATION_SINGLE
public
mixed
RELATION_SINGLE
= 2
RELATION_UNKNOWN
public
mixed
RELATION_UNKNOWN
= 1
RELATION_WIDOWED
public
mixed
RELATION_WIDOWED
= 7
RESOLUTION_ADMIN
public
mixed
RESOLUTION_ADMIN
= 'admin'
RESOLUTION_MOBILE
public
mixed
RESOLUTION_MOBILE
= 'mobile'
RESOLUTION_WEB
public
mixed
RESOLUTION_WEB
= 'web'
RESOURCE_IDENTIFIER_REGEX
|-------------------------------------------------------------------------- | Application Regex |-------------------------------------------------------------------------- | For global regex declaration |.
public
mixed
RESOURCE_IDENTIFIER_REGEX
= '^[a-z][a-z0-9_]*[a-z0-9]$'
RIGHT
public
mixed
RIGHT
= 'right'
SEPARATION_PERM
public
mixed
SEPARATION_PERM
= ':'
SLUGIFY_FILTERS
public
mixed
SLUGIFY_FILTERS
= ['/', ' ', '!', '@', '#', '$', '%', '^', '&', '*', '?', ',', '.', ':', ';', '`', '~', '(', ')', '{', '}', '[', ']', '=', '+', '\\', '|', '"', '<', '>']
SLUGIFY_FILTERS_REPLACE
public
mixed
SLUGIFY_FILTERS_REPLACE
= '-'
SLUGIFY_REGEX
public
mixed
SLUGIFY_REGEX
= '^[a-z0-9]+(?:-[a-z0-9]+)*$'
SORT_ASC
public
mixed
SORT_ASC
= 'asc'
SORT_DESC
public
mixed
SORT_DESC
= 'desc'
STATUS_APPROVED
public
mixed
STATUS_APPROVED
= 'approved'
STATUS_FEATURED
public
mixed
STATUS_FEATURED
= 'featured'
STATUS_NOT_APPROVED
public
mixed
STATUS_NOT_APPROVED
= 'not_approved'
STATUS_ONLINE
public
mixed
STATUS_ONLINE
= 'online'
STATUS_PENDING_APPROVAL
public
mixed
STATUS_PENDING_APPROVAL
= 'pending_approval'
STATUS_PENDING_VERIFICATION_EMAIL
public
mixed
STATUS_PENDING_VERIFICATION_EMAIL
= 'pending_verification_email'
STATUS_PENDING_VERIFICATION_PHONE_NUMBER
public
mixed
STATUS_PENDING_VERIFICATION_PHONE_NUMBER
= 'pending_verification_phone_number'
STORY_SERVICE_TYPE
public
mixed
STORY_SERVICE_TYPE
= 'story-service'
TIME_Y_M_D
public
mixed
TIME_Y_M_D
= 'Y-m-d H:i:s'
TWO_WAY_FRIENDSHIPS
public
mixed
TWO_WAY_FRIENDSHIPS
= 2
VERSION
public
mixed
VERSION
= '5.1.8'
VIDEO_SERVICE_DEFAULT
public
mixed
VIDEO_SERVICE_DEFAULT
= 'ffmpeg'
VIDEO_SERVICE_TYPE
public
mixed
VIDEO_SERVICE_TYPE
= 'video-service'
VIEW_10_NEAREST
public
mixed
VIEW_10_NEAREST
= 10
VIEW_15_NEAREST
public
mixed
VIEW_15_NEAREST
= 15
VIEW_20_NEAREST
public
mixed
VIEW_20_NEAREST
= 20
VIEW_5_NEAREST
public
mixed
VIEW_5_NEAREST
= 5
VIEW_FOLLOWER
public
mixed
VIEW_FOLLOWER
= 'follower'
VIEW_FOLLOWING
public
mixed
VIEW_FOLLOWING
= 'following'