Elgg  Version 4.x
Public Member Functions | Public Attributes | List of all members
Elgg\BootService Class Reference

Boots Elgg and manages a cache of data needed during boot. More...

Public Member Functions

 __construct (\ElggCache $cache)
 Cache. More...
 
 boot (InternalContainer $services)
 Boots the engine. More...
 
 clearCache ()
 Clear the cache item. More...
 

Public Attributes

const DEFAULT_BOOT_CACHE_TTL = 3600
 The default TTL if not set in settings.php. More...
 
const DEFAULT_BOOTDATA_PLUGIN_SETTINGS_LIMIT = 40
 The default limit for the number of plugin settings a plugin can have before it won't be loaded into bootdata. More...
 

Detailed Description

Boots Elgg and manages a cache of data needed during boot.

Definition at line 16 of file BootService.php.

Constructor & Destructor Documentation

Elgg\BootService::__construct ( \ElggCache  $cache)

Cache.

Parameters
\ElggCache$cacheCache

Definition at line 38 of file BootService.php.

Member Function Documentation

Elgg\BootService::boot ( InternalContainer  $services)

Boots the engine.

Parameters
InternalContainer$servicesInternal services
Returns
void
Exceptions

Definition at line 50 of file BootService.php.

Elgg\BootService::clearCache ( )

Clear the cache item.

Returns
void

Definition at line 120 of file BootService.php.

Member Data Documentation

const Elgg\BootService::DEFAULT_BOOT_CACHE_TTL = 3600

The default TTL if not set in settings.php.

Definition at line 24 of file BootService.php.

const Elgg\BootService::DEFAULT_BOOTDATA_PLUGIN_SETTINGS_LIMIT = 40

The default limit for the number of plugin settings a plugin can have before it won't be loaded into bootdata.

Can be set in settings.php

Definition at line 31 of file BootService.php.


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