Elgg  Version 4.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 (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 16 of file BootData.php.

Member Function Documentation

Elgg\BootData::getActivePlugins ( )

Get active plugins.

Returns
[]

Definition at line 126 of file BootData.php.

Elgg\BootData::getPluginMetadata ( )

Get plugin metadata.

Returns
array

Definition at line 144 of file BootData.php.

Elgg\BootData::getPluginSettings ( )

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

Returns
array

Definition at line 135 of file BootData.php.

Elgg\BootData::getSite ( )

Get the site entity.

Returns
|false False if not installed

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

Definition at line 50 of file BootData.php.


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