Elgg  Version 1.9
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")) = elgg_authenticate($username, $password)
 Interates through each element of an array and calls callback a function. More...
 
 $lib_dir = "$engine_dir/lib"
 
 $lib_files
 
 $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 stdClass $CONFIG

Definition at line 40 of file start.php.

$engine_dir = dirname(__FILE__)

Definition at line 46 of file start.php.

$lib_dir = "$engine_dir/lib"

Definition at line 61 of file start.php.

$lib_files

Definition at line 69 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.

if = elgg_authenticate($username, $password)

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.