Elgg  Version 2.3
Public Member Functions | List of all members
Elgg\BootData Class Reference

Serializable collection of data used to boot Elgg. More...

Public Member Functions

 populate (\stdClass $config, Database $db, EntityTable $entities, Plugins $plugins)
 Populate the boot data. More...
 
 getSite ()
 Get the site entity. More...
 
 getDatalistCache ()
 Get the datalists cache. More...
 
 getConfigValues ()
 Get config values to merge into $CONFIG. More...
 
 getSubtypeData ()
 Get the subtype data. More...
 
 getActivePlugins ()
 Get active plugins. More...
 
 getPluginSettings ()
 Get the plugin settings (may not include all active plugins) More...
 

Detailed Description

Serializable collection of data used to boot Elgg.

private

Since
2.1

Definition at line 16 of file BootData.php.

Member Function Documentation

Elgg\BootData::getActivePlugins ( )

Get active plugins.

Returns
[]

Definition at line 190 of file BootData.php.

Elgg\BootData::getConfigValues ( )

Get config values to merge into $CONFIG.

Returns
array

Definition at line 172 of file BootData.php.

Elgg\BootData::getDatalistCache ( )

Get the datalists cache.

Returns
InMemory

Definition at line 163 of file BootData.php.

Elgg\BootData::getPluginSettings ( )

Get the plugin settings (may not include all active plugins)

Returns
array

Definition at line 199 of file BootData.php.

Elgg\BootData::getSite ( )

Get the site entity.

Returns

Definition at line 154 of file BootData.php.

Elgg\BootData::getSubtypeData ( )

Get the subtype data.

Returns
[]

Definition at line 181 of file BootData.php.

Elgg\BootData::populate ( \stdClass  $config,
Database  $db,
EntityTable  $entities,
Plugins  $plugins 
)

Populate the boot data.

Parameters
\stdClass$configElgg CONFIG object
\Elgg\Database$dbElgg database
EntityTable$entitiesEntities service
Plugins$pluginsPlugins service
Returns
void
Exceptions

Definition at line 59 of file BootData.php.


The documentation for this class was generated from the following file: