Full ELMS Learning Network documentation
Constants
Primary tabs
Name![]() |
Location | Description |
---|---|---|
HDOM_INFO_TEXT |
sites/ |
|
HDOM_QUOTE_DOUBLE |
sites/ |
|
HDOM_QUOTE_NO |
sites/ |
|
HDOM_QUOTE_SINGLE |
sites/ |
|
HDOM_TYPE_COMMENT |
sites/ |
|
HDOM_TYPE_ELEMENT |
sites/ |
|
HDOM_TYPE_ENDTAG |
sites/ |
|
HDOM_TYPE_ROOT |
sites/ |
|
HDOM_TYPE_TEXT |
sites/ |
|
HDOM_TYPE_UNKNOWN |
sites/ |
|
HTTPRL_BACKGROUND_CALLBACK |
sites/ |
Default value |
HTTPRL_CONNECTION_REFUSED |
sites/ |
Error code indicating that the endpoint server has refused or dropped the connection. |
HTTPRL_CONNECTION_RESET |
sites/ |
Error code indicating that the connection was forcibly closed by the remote host. |
HTTPRL_CONNECT_TIMEOUT |
sites/ |
Default maximum number of seconds establishing the TCP connection of a request may take. |
HTTPRL_DNS_TIMEOUT |
sites/ |
Default maximum number of seconds the DNS portion of a request may take. |
HTTPRL_ERROR_INITIALIZING_STREAM |
sites/ |
An error occurred before the system connect() call. This is most likely due to a problem initializing the stream. |
HTTPRL_FUNCTION_TIMEOUT |
sites/ |
Error code indicating that all requests made by httprl_send_request exceeded the specified timeout. |
HTTPRL_GLOBAL_TIMEOUT |
sites/ |
Default maximum number of seconds a function call may take. |
HTTPRL_HOST_NOT_FOUND |
sites/ |
Error code indicating that the host is unknown or can not be found. |
HTTPRL_MULTIPART_BOUNDARY |
sites/ |
HTTP encapsulation boundary string. |
HTTPRL_PR_MAX_STRING_LENGTH |
sites/ |
Max length of a string inside of httprl_pr(). Default is 256KB. |
HTTPRL_REQUEST_ABORTED |
sites/ |
Error code indicating that software caused the connection to be aborted. |
HTTPRL_REQUEST_ALLOWED_REDIRECTS_EXHAUSTED |
sites/ |
Error code indicating that the request made by httprl_request() exceeded the maximum allowed redirects without reaching the final target. |
HTTPRL_REQUEST_FWRITE_FAIL |
sites/ |
Error code indicating that the call to fwrite() failed. |
HTTPRL_REQUEST_TIMEOUT |
sites/ |
Error code indicating that the request exceeded the specified timeout. |
HTTPRL_STREAM_SELECT_TIMEOUT |
sites/ |
Error code indicating that this request made by stream_select() couldn't open a read and/or write to any stream after a minimum of ~10 seconds. |
HTTPRL_TIMEOUT |
sites/ |
Default maximum number of seconds a single request call may take. |
HTTPRL_TTFB_TIMEOUT |
sites/ |
Default maximum number of seconds a connection may take to download the first byte. |
HTTPRL_URL_INBOUND_ALTER |
sites/ |
Run httprl_url_inbound_alter(). |
HTTPRL_URL_INVALID_SCHEMA |
sites/ |
Invalid schema. Only http, feed, and https allowed currently. |
HTTPRL_URL_MISSING_SCHEMA |
sites/ |
Given URL is missing a schema (http, https, feed). |
HTTPRL_URL_PARSE_ERROR |
sites/ |
parse_url() was unable to parse the given url. |
HTTP_REQUEST_PCRE_LINK_TAG |
sites/ |
PCRE for finding the link tags in html. |
HTTP_REQUEST_PCRE_TAG_ATTRIBUTES |
sites/ |
PCRE for matching all the attributes in a tag. |
HTTP_REQUEST_TIMEOUT |
includes/ |
Error code indicating that the request exceeded the specified timeout. |
IMAGEINFO_CACHE_USE_HTTPRL |
sites/ |
Default value is to use HTTPRL. |
IMAGE_DERIVATIVE_TOKEN |
modules/ |
The name of the query parameter for image derivative tokens. |
IMAGE_STORAGE_DEFAULT |
modules/ |
Image style constant for module-defined presets in code. |
IMAGE_STORAGE_EDITABLE |
modules/ |
Image style constant to represent an editable preset. |
IMAGE_STORAGE_MODULE |
modules/ |
Image style constant to represent any module-based preset. |
IMAGE_STORAGE_NORMAL |
modules/ |
Image style constant for user presets in the database. |
IMAGE_STORAGE_OVERRIDE |
modules/ |
Image style constant for user presets that override module-defined presets. |
INSTALL_TASK_RUN_IF_NOT_COMPLETED |
includes/ |
Global flag to indicate that a task should be run on each installation request that reaches it, until the database is set up and we are able to record the fact that it already ran. |
INSTALL_TASK_RUN_IF_REACHED |
includes/ |
Run the task on each installation request until the database is set up. |
INSTALL_TASK_SKIP |
includes/ |
Do not run the task during the current installation request. |
JOYRIDE_LIBRARY_VERSION |
sites/ |
|
JS_ARRAY_INIT |
sites/ |
|
JS_BLOCK |
sites/ |
|
JS_CALL |
sites/ |
|
JS_DEFAULT |
includes/ |
The default group for module JavaScript code added to the page. |