Elgg  Version 1.11
Namespaces | Variables
start.php File Reference

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()
 

Variable Documentation

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.

See also
elgg_get_config()
engine/settings.php $CONFIG

Definition at line 40 of file start.php.

$engine_dir = dirname(__FILE__)

Definition at line 46 of file start.php.

$START_MICROTIME = microtime(true)

The time with microseconds when the Elgg engine was started.

float

Definition at line 24 of file start.php.

$viewtype = elgg_get_viewtype()
$CONFIG boot_complete = false

Definition at line 44 of file start.php.

$CONFIG default_limit = 10

Definition at line 62 of file start.php.

if
Initial value:
{
elgg_disable_simplecache()
Disables the simple cache.
Definition: cache.php:186

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.

Parameters
{Function}callback
Returns
{Void}

Definition at line 54 of file start.php.