Elgg  Version 6.1
constants.php
Go to the documentation of this file.
1 <?php
2 
9 const ACCESS_DEFAULT = -1;
10 const ACCESS_PRIVATE = 0;
11 const ACCESS_LOGGED_IN = 1;
12 const ACCESS_PUBLIC = 2;
13 const ACCESS_FRIENDS = -2;
14 
22 
30 
37 const REFERRER = '__elgg_referrer';
38 
42 const ELGG_HTTP_CONTINUE = 100;
44 const ELGG_HTTP_PROCESSING = 102;// RFC2518
45 const ELGG_HTTP_OK = 200;
46 const ELGG_HTTP_CREATED = 201;
47 const ELGG_HTTP_ACCEPTED = 202;
52 const ELGG_HTTP_MULTI_STATUS = 207; // RFC4918
53 const ELGG_HTTP_ALREADY_REPORTED = 208; // RFC5842
54 const ELGG_HTTP_IM_USED = 226; // RFC3229
57 const ELGG_HTTP_FOUND = 302;
58 const ELGG_HTTP_SEE_OTHER = 303;
60 const ELGG_HTTP_USE_PROXY = 305;
61 const ELGG_HTTP_RESERVED = 306;
63 const ELGG_HTTP_PERMANENTLY_REDIRECT = 308; // RFC7238
67 const ELGG_HTTP_FORBIDDEN = 403;
68 const ELGG_HTTP_NOT_FOUND = 404;
73 const ELGG_HTTP_CONFLICT = 409;
74 const ELGG_HTTP_GONE = 410;
82 const ELGG_HTTP_I_AM_A_TEAPOT = 418; // RFC2324
83 const ELGG_HTTP_UNPROCESSABLE_ENTITY = 422;// RFC4918
84 const ELGG_HTTP_LOCKED = 423; // RFC4918
85 const ELGG_HTTP_FAILED_DEPENDENCY = 424; // RFC4918
87 const ELGG_HTTP_UPGRADE_REQUIRED = 426;// RFC2817
88 const ELGG_HTTP_PRECONDITION_REQUIRED = 428; // RFC6585
89 const ELGG_HTTP_TOO_MANY_REQUESTS = 429; // RFC6585
98 const ELGG_HTTP_INSUFFICIENT_STORAGE = 507;// RFC4918
99 const ELGG_HTTP_LOOP_DETECTED = 508; // RFC5842
100 const ELGG_HTTP_NOT_EXTENDED = 510;// RFC2774
102 
106 const ELGG_JSON_ENCODING = JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT;
107 
111 const ELGG_VALUE_INTEGER = 'integer';
112 const ELGG_VALUE_STRING = 'string';
113 const ELGG_VALUE_GUID = 'guid';
114 const ELGG_VALUE_ID = 'id';
115 const ELGG_VALUE_TIMESTAMP = 'timestamp';
116 const ELGG_VALUE_BOOL = 'bool';
117 
const ELGG_HTTP_LOOP_DETECTED
Definition: constants.php:99
const ELGG_HTTP_GATEWAY_TIMEOUT
Definition: constants.php:95
const ELGG_DISABLE_SYSTEM_LOG
Definition: constants.php:125
const ELGG_HTTP_MULTIPLE_CHOICES
Definition: constants.php:55
const ELGG_HTTP_FORBIDDEN
Definition: constants.php:67
const ELGG_HTTP_INSUFFICIENT_STORAGE
Definition: constants.php:98
const ELGG_HTTP_PROXY_AUTHENTICATION_REQUIRED
Definition: constants.php:71
const ELGG_HTTP_MULTI_STATUS
Definition: constants.php:52
const ELGG_HTTP_NOT_IMPLEMENTED
Definition: constants.php:92
const ELGG_HTTP_RESET_CONTENT
Definition: constants.php:50
const ELGG_HTTP_FAILED_DEPENDENCY
Definition: constants.php:85
const ACCESS_DEFAULT
Controls access levels on entities, metadata, and annotations.
Definition: constants.php:9
const ELGG_ENFORCE_ACCESS
Definition: constants.php:122
const ELGG_HTTP_LENGTH_REQUIRED
Definition: constants.php:75
const ELGG_HTTP_LOCKED
Definition: constants.php:84
const ACCESS_FRIENDS
Definition: constants.php:13
const ELGG_HTTP_OK
Definition: constants.php:45
const ELGG_VALUE_INTEGER
Value types.
Definition: constants.php:111
const ELGG_HTTP_PERMANENTLY_REDIRECT
Definition: constants.php:63
const ELGG_HTTP_CONFLICT
Definition: constants.php:73
const ELGG_VALUE_GUID
Definition: constants.php:113
const ELGG_HTTP_UNAUTHORIZED
Definition: constants.php:65
const ELGG_HTTP_I_AM_A_TEAPOT
Definition: constants.php:82
const ELGG_HTTP_UPGRADE_REQUIRED
Definition: constants.php:87
const ELGG_HTTP_NETWORK_AUTHENTICATION_REQUIRED
Definition: constants.php:101
const ELGG_VALUE_ID
Definition: constants.php:114
const ELGG_HTTP_NON_AUTHORITATIVE_INFORMATION
Definition: constants.php:48
const ELGG_HTTP_BAD_GATEWAY
Definition: constants.php:93
const ELGG_HTTP_UNPROCESSABLE_ENTITY
Definition: constants.php:83
const ELGG_HTTP_PAYMENT_REQUIRED
Definition: constants.php:66
const ELGG_HTTP_UNSUPPORTED_MEDIA_TYPE
Definition: constants.php:79
const ELGG_HIDE_DISABLED_ENTITIES
Definition: constants.php:124
const ELGG_HTTP_GONE
Definition: constants.php:74
const ELGG_VALUE_BOOL
Definition: constants.php:116
const ELGG_IGNORE_ACCESS
elgg_call() flags
Definition: constants.php:121
const ELGG_HTTP_PROCESSING
Definition: constants.php:44
const ELGG_HTTP_METHOD_NOT_ALLOWED
Definition: constants.php:69
const ELGG_HTTP_SWITCHING_PROTOCOLS
Definition: constants.php:43
const REFERRER
Used in calls to forward() to specify the browser should be redirected to the referring page...
Definition: constants.php:37
const ELGG_HTTP_CONTINUE
HTTP Response codes.
Definition: constants.php:42
const ELGG_HTTP_USE_PROXY
Definition: constants.php:60
const ACCESS_PRIVATE
Definition: constants.php:10
const ELGG_SHOW_DISABLED_ENTITIES
Definition: constants.php:123
const ELGG_HTTP_TOO_MANY_REQUESTS
Definition: constants.php:89
const ELGG_ENABLE_SYSTEM_LOG
Definition: constants.php:126
const ACCESS_LOGGED_IN
Definition: constants.php:11
const ELGG_HTTP_SERVICE_UNAVAILABLE
Definition: constants.php:94
const ELGG_HTTP_RESERVED
Definition: constants.php:61
const ELGG_HTTP_PARTIAL_CONTENT
Definition: constants.php:51
const ELGG_JSON_ENCODING
Default JSON encoding.
Definition: constants.php:106
const ELGG_HTTP_FOUND
Definition: constants.php:57
const ELGG_HTTP_NOT_EXTENDED
Definition: constants.php:100
const ELGG_HTTP_ACCEPTED
Definition: constants.php:47
const ELGG_HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL
Definition: constants.php:97
const ELGG_ENTITIES_ANY_VALUE
Constant to request the value of a parameter be ignored in elgg_get_*() functions.
Definition: constants.php:21
const ELGG_ENTITIES_NO_VALUE
Constant to request the value of a parameter be nothing in elgg_get_*() functions.
Definition: constants.php:29
const ELGG_HTTP_REQUEST_TIMEOUT
Definition: constants.php:72
const ELGG_SHOW_DELETED_ENTITIES
Definition: constants.php:127
const ELGG_HTTP_CREATED
Definition: constants.php:46
const ELGG_VALUE_TIMESTAMP
Definition: constants.php:115
const ELGG_HTTP_NOT_MODIFIED
Definition: constants.php:59
const ELGG_HTTP_BAD_REQUEST
Definition: constants.php:64
const ELGG_HTTP_EXPECTATION_FAILED
Definition: constants.php:81
const ELGG_HTTP_PRECONDITION_FAILED
Definition: constants.php:76
const ELGG_HTTP_RESERVED_FOR_WEBDAV_ADVANCED_COLLECTIONS_EXPIRED_PROPOSAL
Definition: constants.php:86
const ELGG_HTTP_REQUEST_ENTITY_TOO_LARGE
Definition: constants.php:77
const ELGG_HTTP_NOT_FOUND
Definition: constants.php:68
const ELGG_HIDE_DELETED_ENTITIES
Definition: constants.php:128
const ELGG_HTTP_VERSION_NOT_SUPPORTED
Definition: constants.php:96
const ELGG_HTTP_PRECONDITION_REQUIRED
Definition: constants.php:88
const ELGG_VALUE_STRING
Definition: constants.php:112
const ELGG_HTTP_INTERNAL_SERVER_ERROR
Definition: constants.php:91
const ELGG_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE
Definition: constants.php:80
const ELGG_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE
Definition: constants.php:90
const ELGG_HTTP_NO_CONTENT
Definition: constants.php:49
const ELGG_HTTP_IM_USED
Definition: constants.php:54
const ELGG_HTTP_REQUEST_URI_TOO_LONG
Definition: constants.php:78
const ACCESS_PUBLIC
Definition: constants.php:12
const ELGG_HTTP_SEE_OTHER
Definition: constants.php:58
const ELGG_HTTP_ALREADY_REPORTED
Definition: constants.php:53
const ELGG_HTTP_NOT_ACCEPTABLE
Definition: constants.php:70
const ELGG_HTTP_MOVED_PERMANENTLY
Definition: constants.php:56
const ELGG_HTTP_TEMPORARY_REDIRECT
Definition: constants.php:62