Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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 188 of file BootData.php.

Elgg\BootData::getConfigValues ( )

Get config values to merge into $CONFIG.

Returns
array

Definition at line 170 of file BootData.php.

Elgg\BootData::getDatalistCache ( )

Get the datalists cache.

Returns
InMemory

Definition at line 161 of file BootData.php.

Elgg\BootData::getPluginSettings ( )

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

Returns
array

Definition at line 197 of file BootData.php.

Elgg\BootData::getSite ( )

Get the site entity.

Returns

Definition at line 152 of file BootData.php.

Elgg\BootData::getSubtypeData ( )

Get the subtype data.

Returns
[]

Definition at line 179 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
\InstallationException

Definition at line 59 of file BootData.php.


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