Elgg  Version 6.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 (EntityTable $entities, Plugins $plugins, bool $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 76 of file BootData.php.

Elgg\BootData::getPluginMetadata ( )

Get plugin metadata.

Returns
array

Definition at line 85 of file BootData.php.

Elgg\BootData::getSite ( )

Get the site entity.

Returns
|false False if not installed

Definition at line 67 of file BootData.php.

Elgg\BootData::populate ( EntityTable  $entities,
Plugins  $plugins,
bool  $installed 
)

Populate the boot data.

Parameters
EntityTable$entitiesEntities service
Plugins$pluginsPlugins service
bool$installedIs the site installed?
Returns
void
Exceptions
InstallationException

Definition at line 43 of file BootData.php.


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