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 (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 15 of file BootData.php.

Member Function Documentation

Elgg\BootData::getActivePlugins ( )

Get active plugins.

Returns
[]

Definition at line 68 of file BootData.php.

Elgg\BootData::getPluginMetadata ( )

Get plugin metadata.

Returns
array

Definition at line 77 of file BootData.php.

Elgg\BootData::getSite ( )

Get the site entity.

Returns
|false False if not installed

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


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