PHP Class Elgg\BootData

Since: 2.1
Afficher le fichier Open project: elgg/elgg Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Get active plugins
public getActivePlugins ( ) : ElggPlugin[]
Résultat ElggPlugin[]

getConfigValues() public méthode

Get config values to merge into $CONFIG
public getConfigValues ( ) : array
Résultat array

getPluginSettings() public méthode

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

getSite() public méthode

Get the site entity
public getSite ( ) : ElggSite
Résultat ElggSite

getSubtypeData() public méthode

Get the subtype data
public getSubtypeData ( ) : stdClass[]
Résultat stdClass[]

populate() public méthode

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
Résultat void