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

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

Public Member Functions

 populate (Config $config, Database $db, EntityTable $entities, Plugins $plugins, $installed)
 Populate the boot data. More...
 
 getSite ()
 Get the site entity. More...
 
 getActivePlugins ()
 Get active plugins. More...
 
 getPluginSettings ()
 Get the plugin settings (may not include all active plugins) More...
 
 getPluginMetadata ()
 Get plugin metadata. More...
 

Detailed Description

Serializable collection of data used to boot Elgg.

Definition at line 14 of file BootData.php.

Member Function Documentation

Elgg\BootData::getActivePlugins ( )

Get active plugins.

Returns
[]

Definition at line 129 of file BootData.php.

Elgg\BootData::getPluginMetadata ( )

Get plugin metadata.

Returns
array

Definition at line 147 of file BootData.php.

Elgg\BootData::getPluginSettings ( )

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

Returns
array

Definition at line 138 of file BootData.php.

Elgg\BootData::getSite ( )

Get the site entity.

Returns
|false False if not installed

Definition at line 120 of file BootData.php.

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

Populate the boot data.

Parameters
Config$configElgg config
Database$dbElgg database
EntityTable$entitiesEntities service
Plugins$pluginsPlugins service
bool$installedIs the site installed?
Returns
void
Exceptions

Definition at line 51 of file BootData.php.


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