PHP Class Elgg\BootData

Since: 2.1
Datei anzeigen Open project: elgg/elgg Class Usage Examples

Public Methods

Method Description
getActivePlugins ( ) : ElggPlugin[] Get active plugins
getConfigValues ( ) : array Get config values to merge into $CONFIG
getPluginSettings ( ) : array Get the plugin settings (may not include all active plugins)
getSite ( ) : ElggSite Get the site entity
getSubtypeData ( ) : stdClass[] Get the subtype data
populate ( stdClass $config, Database $db, EntityTable $entities, Plugins $plugins ) : void Populate the boot data

Method Details

getActivePlugins() public method

Get active plugins
public getActivePlugins ( ) : ElggPlugin[]
return ElggPlugin[]

getConfigValues() public method

Get config values to merge into $CONFIG
public getConfigValues ( ) : array
return array

getPluginSettings() public method

Get the plugin settings (may not include all active plugins)
public getPluginSettings ( ) : array
return array

getSite() public method

Get the site entity
public getSite ( ) : ElggSite
return ElggSite

getSubtypeData() public method

Get the subtype data
public getSubtypeData ( ) : stdClass[]
return stdClass[]

populate() public method

Populate the boot data
public populate ( stdClass $config, Database $db, EntityTable $entities, Plugins $plugins ) : void
$config stdClass Elgg CONFIG object
$db Database Elgg database
$entities Elgg\Database\EntityTable Entities service
$plugins Elgg\Database\Plugins Plugins service
return void