Elgg
Version 1.11
|
Go to the source code of this file.
Namespaces | |
Elgg\Core | |
Activate a plugin or plugins. | |
Variables | |
global | $START_MICROTIME = microtime(true) |
The time with microseconds when the Elgg engine was started. More... | |
global | $CONFIG |
Configuration values. More... | |
if(!isset($CONFIG)) $CONFIG | boot_complete = false |
$engine_dir = dirname(__FILE__) | |
if(!is_file("$engine_dir/settings.php")) | if (!is_readable("$engine_dir/settings.php")) |
Interates through each element of an array and calls callback a function. More... | |
$CONFIG | default_limit = 10 |
$viewtype = elgg_get_viewtype() | |
global $CONFIG |
Configuration values.
The $CONFIG global contains configuration values required for running Elgg as defined in the settings.php file.
Plugin authors are encouraged to use elgg_get_config() instead of accessing the global directly.
$START_MICROTIME = microtime(true) |
$viewtype = elgg_get_viewtype() |
if |
Interates through each element of an array and calls callback a function.
The callback should accept the following arguments: element - The current element index - The current index
This is different to Array.every in that the callback's return value is ignored and every element of the array will be parsed.
{Function} | callback |