Elgg  Version master
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...
 
 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 87 of file BootData.php.

Elgg\BootData::getPluginMetadata ( )

Get plugin metadata.

Returns
array

Definition at line 96 of file BootData.php.

Elgg\BootData::getSite ( )

Get the site entity.

Returns
|false False if not installed

Definition at line 78 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 45 of file BootData.php.


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