Elgg  Version 5.1
Variables
constants.php File Reference

Go to the source code of this file.

Variables

const ACCESS_DEFAULT = -1
 Controls access levels on entities, metadata, and annotations. More...
 
const ACCESS_PRIVATE = 0
 
const ACCESS_LOGGED_IN = 1
 
const ACCESS_PUBLIC = 2
 
const ACCESS_FRIENDS = -2
 
const ELGG_ENTITIES_ANY_VALUE = null
 Constant to request the value of a parameter be ignored in elgg_get_*() functions. More...
 
const ELGG_ENTITIES_NO_VALUE = 0
 Constant to request the value of a parameter be nothing in elgg_get_*() functions. More...
 
const REFERRER = '__elgg_referrer'
 Used in calls to forward() to specify the browser should be redirected to the referring page. More...
 
const ELGG_HTTP_CONTINUE = 100
 HTTP Response codes. More...
 
const ELGG_HTTP_SWITCHING_PROTOCOLS = 101
 
const ELGG_HTTP_PROCESSING = 102
 
const ELGG_HTTP_OK = 200
 
const ELGG_HTTP_CREATED = 201
 
const ELGG_HTTP_ACCEPTED = 202
 
const ELGG_HTTP_NON_AUTHORITATIVE_INFORMATION = 203
 
const ELGG_HTTP_NO_CONTENT = 204
 
const ELGG_HTTP_RESET_CONTENT = 205
 
const ELGG_HTTP_PARTIAL_CONTENT = 206
 
const ELGG_HTTP_MULTI_STATUS = 207
 
const ELGG_HTTP_ALREADY_REPORTED = 208
 
const ELGG_HTTP_IM_USED = 226
 
const ELGG_HTTP_MULTIPLE_CHOICES = 300
 
const ELGG_HTTP_MOVED_PERMANENTLY = 301
 
const ELGG_HTTP_FOUND = 302
 
const ELGG_HTTP_SEE_OTHER = 303
 
const ELGG_HTTP_NOT_MODIFIED = 304
 
const ELGG_HTTP_USE_PROXY = 305
 
const ELGG_HTTP_RESERVED = 306
 
const ELGG_HTTP_TEMPORARY_REDIRECT = 307
 
const ELGG_HTTP_PERMANENTLY_REDIRECT = 308
 
const ELGG_HTTP_BAD_REQUEST = 400
 
const ELGG_HTTP_UNAUTHORIZED = 401
 
const ELGG_HTTP_PAYMENT_REQUIRED = 402
 
const ELGG_HTTP_FORBIDDEN = 403
 
const ELGG_HTTP_NOT_FOUND = 404
 
const ELGG_HTTP_METHOD_NOT_ALLOWED = 405
 
const ELGG_HTTP_NOT_ACCEPTABLE = 406
 
const ELGG_HTTP_PROXY_AUTHENTICATION_REQUIRED = 407
 
const ELGG_HTTP_REQUEST_TIMEOUT = 408
 
const ELGG_HTTP_CONFLICT = 409
 
const ELGG_HTTP_GONE = 410
 
const ELGG_HTTP_LENGTH_REQUIRED = 411
 
const ELGG_HTTP_PRECONDITION_FAILED = 412
 
const ELGG_HTTP_REQUEST_ENTITY_TOO_LARGE = 413
 
const ELGG_HTTP_REQUEST_URI_TOO_LONG = 414
 
const ELGG_HTTP_UNSUPPORTED_MEDIA_TYPE = 415
 
const ELGG_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE = 416
 
const ELGG_HTTP_EXPECTATION_FAILED = 417
 
const ELGG_HTTP_I_AM_A_TEAPOT = 418
 
const ELGG_HTTP_UNPROCESSABLE_ENTITY = 422
 
const ELGG_HTTP_LOCKED = 423
 
const ELGG_HTTP_FAILED_DEPENDENCY = 424
 
const ELGG_HTTP_RESERVED_FOR_WEBDAV_ADVANCED_COLLECTIONS_EXPIRED_PROPOSAL = 425
 
const ELGG_HTTP_UPGRADE_REQUIRED = 426
 
const ELGG_HTTP_PRECONDITION_REQUIRED = 428
 
const ELGG_HTTP_TOO_MANY_REQUESTS = 429
 
const ELGG_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431
 
const ELGG_HTTP_INTERNAL_SERVER_ERROR = 500
 
const ELGG_HTTP_NOT_IMPLEMENTED = 501
 
const ELGG_HTTP_BAD_GATEWAY = 502
 
const ELGG_HTTP_SERVICE_UNAVAILABLE = 503
 
const ELGG_HTTP_GATEWAY_TIMEOUT = 504
 
const ELGG_HTTP_VERSION_NOT_SUPPORTED = 505
 
const ELGG_HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL = 506
 
const ELGG_HTTP_INSUFFICIENT_STORAGE = 507
 
const ELGG_HTTP_LOOP_DETECTED = 508
 
const ELGG_HTTP_NOT_EXTENDED = 510
 
const ELGG_HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511
 
const ELGG_JSON_ENCODING = JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT
 Default JSON encoding. More...
 
const ELGG_VALUE_INTEGER = 'integer'
 Value types. More...
 
const ELGG_VALUE_STRING = 'string'
 
const ELGG_VALUE_GUID = 'guid'
 
const ELGG_VALUE_ID = 'id'
 
const ELGG_VALUE_TIMESTAMP = 'timestamp'
 
const ELGG_VALUE_BOOL = 'bool'
 
const ELGG_CACHE_BLACK_HOLE = 1
 Cache init values. More...
 
const ELGG_CACHE_RUNTIME = 2
 
const ELGG_CACHE_FILESYSTEM = 4
 
const ELGG_CACHE_PERSISTENT = 8
 
const ELGG_CACHE_LOCALFILESYSTEM = 32
 
const ELGG_IGNORE_ACCESS = 1
 elgg_call() flags More...
 
const ELGG_ENFORCE_ACCESS = 2
 
const ELGG_SHOW_DISABLED_ENTITIES = 4
 
const ELGG_HIDE_DISABLED_ENTITIES = 8
 
const ELGG_DISABLE_SYSTEM_LOG = 16
 
const ELGG_ENABLE_SYSTEM_LOG = 32
 

Variable Documentation

const ACCESS_DEFAULT = -1

Controls access levels on entities, metadata, and annotations.

Warning
ACCESS_DEFAULT and ACCESS_FRIENDS are placeholders for the input/access view. Do not use them when saving or updating an entity.

Definition at line 9 of file constants.php.

const ACCESS_FRIENDS = -2

Definition at line 13 of file constants.php.

const ACCESS_LOGGED_IN = 1

Definition at line 11 of file constants.php.

const ACCESS_PRIVATE = 0

Definition at line 10 of file constants.php.

const ACCESS_PUBLIC = 2

Definition at line 12 of file constants.php.

const ELGG_CACHE_BLACK_HOLE = 1

Cache init values.

Definition at line 121 of file constants.php.

const ELGG_CACHE_FILESYSTEM = 4

Definition at line 123 of file constants.php.

const ELGG_CACHE_LOCALFILESYSTEM = 32

Definition at line 125 of file constants.php.

const ELGG_CACHE_PERSISTENT = 8

Definition at line 124 of file constants.php.

const ELGG_CACHE_RUNTIME = 2

Definition at line 122 of file constants.php.

const ELGG_DISABLE_SYSTEM_LOG = 16

Definition at line 134 of file constants.php.

const ELGG_ENABLE_SYSTEM_LOG = 32

Definition at line 135 of file constants.php.

const ELGG_ENFORCE_ACCESS = 2

Definition at line 131 of file constants.php.

const ELGG_ENTITIES_ANY_VALUE = null

Constant to request the value of a parameter be ignored in elgg_get_*() functions.

See also
elgg_get_entities()
Since
1.7
Examples:
/root/Elgg/engine/lib/views.php.

Definition at line 21 of file constants.php.

const ELGG_ENTITIES_NO_VALUE = 0

Constant to request the value of a parameter be nothing in elgg_get_*() functions.

See also
elgg_get_entities()
Since
1.7

Definition at line 29 of file constants.php.

const ELGG_HIDE_DISABLED_ENTITIES = 8

Definition at line 133 of file constants.php.

const ELGG_HTTP_ACCEPTED = 202

Definition at line 47 of file constants.php.

const ELGG_HTTP_ALREADY_REPORTED = 208

Definition at line 53 of file constants.php.

const ELGG_HTTP_BAD_GATEWAY = 502

Definition at line 93 of file constants.php.

const ELGG_HTTP_BAD_REQUEST = 400

Definition at line 64 of file constants.php.

const ELGG_HTTP_CONFLICT = 409

Definition at line 73 of file constants.php.

const ELGG_HTTP_CONTINUE = 100

HTTP Response codes.

Definition at line 42 of file constants.php.

const ELGG_HTTP_CREATED = 201

Definition at line 46 of file constants.php.

const ELGG_HTTP_EXPECTATION_FAILED = 417

Definition at line 81 of file constants.php.

const ELGG_HTTP_FAILED_DEPENDENCY = 424

Definition at line 85 of file constants.php.

const ELGG_HTTP_FORBIDDEN = 403

Definition at line 67 of file constants.php.

const ELGG_HTTP_FOUND = 302

Definition at line 57 of file constants.php.

const ELGG_HTTP_GATEWAY_TIMEOUT = 504

Definition at line 95 of file constants.php.

const ELGG_HTTP_GONE = 410

Definition at line 74 of file constants.php.

const ELGG_HTTP_I_AM_A_TEAPOT = 418

Definition at line 82 of file constants.php.

const ELGG_HTTP_IM_USED = 226

Definition at line 54 of file constants.php.

const ELGG_HTTP_INSUFFICIENT_STORAGE = 507

Definition at line 98 of file constants.php.

const ELGG_HTTP_INTERNAL_SERVER_ERROR = 500

Definition at line 91 of file constants.php.

const ELGG_HTTP_LENGTH_REQUIRED = 411

Definition at line 75 of file constants.php.

const ELGG_HTTP_LOCKED = 423

Definition at line 84 of file constants.php.

const ELGG_HTTP_LOOP_DETECTED = 508

Definition at line 99 of file constants.php.

const ELGG_HTTP_METHOD_NOT_ALLOWED = 405

Definition at line 69 of file constants.php.

const ELGG_HTTP_MOVED_PERMANENTLY = 301

Definition at line 56 of file constants.php.

const ELGG_HTTP_MULTI_STATUS = 207

Definition at line 52 of file constants.php.

const ELGG_HTTP_MULTIPLE_CHOICES = 300

Definition at line 55 of file constants.php.

const ELGG_HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511

Definition at line 101 of file constants.php.

const ELGG_HTTP_NO_CONTENT = 204

Definition at line 49 of file constants.php.

const ELGG_HTTP_NON_AUTHORITATIVE_INFORMATION = 203

Definition at line 48 of file constants.php.

const ELGG_HTTP_NOT_ACCEPTABLE = 406

Definition at line 70 of file constants.php.

const ELGG_HTTP_NOT_EXTENDED = 510

Definition at line 100 of file constants.php.

const ELGG_HTTP_NOT_FOUND = 404

Definition at line 68 of file constants.php.

const ELGG_HTTP_NOT_IMPLEMENTED = 501

Definition at line 92 of file constants.php.

const ELGG_HTTP_NOT_MODIFIED = 304

Definition at line 59 of file constants.php.

const ELGG_HTTP_OK = 200

Definition at line 45 of file constants.php.

const ELGG_HTTP_PARTIAL_CONTENT = 206

Definition at line 51 of file constants.php.

const ELGG_HTTP_PAYMENT_REQUIRED = 402

Definition at line 66 of file constants.php.

const ELGG_HTTP_PERMANENTLY_REDIRECT = 308

Definition at line 63 of file constants.php.

const ELGG_HTTP_PRECONDITION_FAILED = 412

Definition at line 76 of file constants.php.

const ELGG_HTTP_PRECONDITION_REQUIRED = 428

Definition at line 88 of file constants.php.

const ELGG_HTTP_PROCESSING = 102

Definition at line 44 of file constants.php.

const ELGG_HTTP_PROXY_AUTHENTICATION_REQUIRED = 407

Definition at line 71 of file constants.php.

const ELGG_HTTP_REQUEST_ENTITY_TOO_LARGE = 413

Definition at line 77 of file constants.php.

const ELGG_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431

Definition at line 90 of file constants.php.

const ELGG_HTTP_REQUEST_TIMEOUT = 408

Definition at line 72 of file constants.php.

const ELGG_HTTP_REQUEST_URI_TOO_LONG = 414

Definition at line 78 of file constants.php.

const ELGG_HTTP_REQUESTED_RANGE_NOT_SATISFIABLE = 416

Definition at line 80 of file constants.php.

const ELGG_HTTP_RESERVED = 306

Definition at line 61 of file constants.php.

const ELGG_HTTP_RESERVED_FOR_WEBDAV_ADVANCED_COLLECTIONS_EXPIRED_PROPOSAL = 425

Definition at line 86 of file constants.php.

const ELGG_HTTP_RESET_CONTENT = 205

Definition at line 50 of file constants.php.

const ELGG_HTTP_SEE_OTHER = 303

Definition at line 58 of file constants.php.

const ELGG_HTTP_SERVICE_UNAVAILABLE = 503

Definition at line 94 of file constants.php.

const ELGG_HTTP_SWITCHING_PROTOCOLS = 101

Definition at line 43 of file constants.php.

const ELGG_HTTP_TEMPORARY_REDIRECT = 307

Definition at line 62 of file constants.php.

const ELGG_HTTP_TOO_MANY_REQUESTS = 429

Definition at line 89 of file constants.php.

const ELGG_HTTP_UNAUTHORIZED = 401

Definition at line 65 of file constants.php.

const ELGG_HTTP_UNPROCESSABLE_ENTITY = 422

Definition at line 83 of file constants.php.

const ELGG_HTTP_UNSUPPORTED_MEDIA_TYPE = 415

Definition at line 79 of file constants.php.

const ELGG_HTTP_UPGRADE_REQUIRED = 426

Definition at line 87 of file constants.php.

const ELGG_HTTP_USE_PROXY = 305

Definition at line 60 of file constants.php.

const ELGG_HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL = 506

Definition at line 97 of file constants.php.

const ELGG_HTTP_VERSION_NOT_SUPPORTED = 505

Definition at line 96 of file constants.php.

const ELGG_IGNORE_ACCESS = 1

elgg_call() flags

Definition at line 130 of file constants.php.

const ELGG_JSON_ENCODING = JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_AMP | JSON_HEX_QUOT

Default JSON encoding.

Definition at line 106 of file constants.php.

const ELGG_SHOW_DISABLED_ENTITIES = 4

Definition at line 132 of file constants.php.

const ELGG_VALUE_BOOL = 'bool'

Definition at line 116 of file constants.php.

const ELGG_VALUE_GUID = 'guid'

Definition at line 113 of file constants.php.

const ELGG_VALUE_ID = 'id'

Definition at line 114 of file constants.php.

const ELGG_VALUE_INTEGER = 'integer'

Value types.

Definition at line 111 of file constants.php.

const ELGG_VALUE_STRING = 'string'

Definition at line 112 of file constants.php.

const ELGG_VALUE_TIMESTAMP = 'timestamp'

Definition at line 115 of file constants.php.

const REFERRER = '__elgg_referrer'

Used in calls to forward() to specify the browser should be redirected to the referring page.

See also
forward

Definition at line 37 of file constants.php.