21 private $site =
false;
26 private $active_plugins;
31 private $plugin_metadata = [];
45 $this->site = $entities->
get(1,
'site');
46 if (!$this->site && $installed) {
47 throw new InstallationException(
'Unable to handle this request. This site is not configured or the database is down.');
51 $this->active_plugins = $plugins->
find(
'active');
54 if (empty($this->active_plugins)) {
61 }, $this->active_plugins);
85 return $this->active_plugins;
94 return $this->plugin_metadata;
getSite()
Get the site entity.
getPluginMetadata()
Get plugin metadata.
Updates the basic settings for the primary site object.
get(int $guid, string $type=null, string $subtype=null)
Loads and returns an entity object from a guid.
populate(EntityTable $entities, Plugins $plugins, bool $installed)
Populate the boot data.
Thrown when there is a major problem with the installation.
getActivePlugins()
Get active plugins.
$guids
Activates all specified installed and inactive plugins.
Serializable collection of data used to boot Elgg.
_elgg_services()
Get the global service provider.
Persistent, installation-wide key-value storage.
find(string $status= 'active')
Returns an ordered list of plugins.
Entity table database service.
$guid
Reset an ElggUpgrade.