45 foreach ($services->configTable->getAll() as
$name =>
$value) {
50 foreach ($config::SENSITIVE_PROPERTIES as
$name) {
56 $services->reset(
'serverCache');
68 throw new RuntimeException(
'Before installation, config->site must have an unsaved ElggSite.');
76 $services->plugins->setBootPlugins(
$data->getActivePlugins(),
false);
78 $services->views->configureFromCache();
87 $this->cache->clear();
100 private function getBootData(
Config $config,
bool $installed) {
103 $config->_boot_cache_hit =
false;
106 if (
$config->boot_cache_ttl > 0) {
111 $data =
new BootData();
113 if (
$config->boot_cache_ttl && $installed) {
117 $config->_boot_cache_hit =
true;
$guid
Reset an ElggUpgrade.
if(! $user||! $user->canDelete()) $name
if(! $entity instanceof \ElggUser) $data
save()
Save this data to the appropriate database table.bool
load(stdClass $row)
Loads attributes from the entities table into the object.
Boots Elgg and manages a cache of data needed during boot.
clearCache()
Clear the cache item.
boot(InternalContainer $services)
Boots the engine.
__construct(protected BootCache $cache)
Constructs the bootservice.
Exception thrown if an error which can only be found on runtime occurs.
$config
Advanced site settings, debugging section.
_elgg_services()
Get the global service provider.
endTimer(array $keys)
Ends the timer (when enabled)
trait Profilable
Make an object accept a timer.
beginTimer(array $keys)
Start the timer (when enabled)