Elgg  Version 3.0
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 (ServiceProvider $services)
 Boots the engine. More...
 
 invalidateCache ()
 Invalidate 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 15 of file BootService.php.

Constructor & Destructor Documentation

Elgg\BootService::__construct ( ElggCache  $cache)

Cache.

Parameters
ElggCache$cacheCache

Definition at line 37 of file BootService.php.

Member Function Documentation

Elgg\BootService::boot ( ServiceProvider  $services)

Boots the engine.

Parameters
ServiceProvider$servicesServices
Returns
void
Exceptions

Definition at line 53 of file BootService.php.

Elgg\BootService::invalidateCache ( )

Invalidate the cache item.

Returns
void

Definition at line 160 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 23 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 30 of file BootService.php.


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