Urlaubsplan
Lade ...
Suche ...
Keine Treffer
Config::Toolbar Klassenreferenz
Klassendiagramm für Config::Toolbar:
Zusammengehörigkeiten von Config::Toolbar:

Öffentliche Attribute

array $collectors
 
bool $collectVarData = true
 
int $maxHistory = 20
 
string $viewsPath = SYSTEMPATH . 'Debug/Toolbar/Views/'
 
int $maxQueries = 100
 
array $watchedDirectories
 
array $watchedExtensions
 

Ausführliche Beschreibung


Debug Toolbar

The Debug Toolbar provides a way to see information about the performance and state of your application during that page display. By default it will NOT be displayed under production environments, and will only display if CI_DEBUG is true, since if it's not, there's not much to display anyway.

Dokumentation der Datenelemente

◆ $collectors

array Config::Toolbar::$collectors
Initialisierung:
= [
Timers::class,
Database::class,
Logs::class,
Views::class,
Files::class,
Routes::class,
Events::class,
]

◆ $collectVarData

bool Config::Toolbar::$collectVarData = true

Collect Var Data

If set to false var data from the views will not be collected. Useful to avoid high memory usage when there are lots of data passed to the view.

◆ $maxHistory

int Config::Toolbar::$maxHistory = 20

Max History

$maxHistory sets a limit on the number of past requests that are stored, helping to conserve file space used to store them. You can set it to 0 (zero) to not have any history stored, or -1 for unlimited history.

◆ $maxQueries

int Config::Toolbar::$maxQueries = 100

Max Queries

If the Database Collector is enabled, it will log every query that the the system generates so they can be displayed on the toolbar's timeline and in the query log. This can lead to memory issues in some instances with hundreds of queries.

$maxQueries defines the maximum amount of queries that will be stored.

◆ $viewsPath

string Config::Toolbar::$viewsPath = SYSTEMPATH . 'Debug/Toolbar/Views/'

Toolbar Views Path

The full path to the the views that are used by the toolbar. This MUST have a trailing slash.

◆ $watchedDirectories

array Config::Toolbar::$watchedDirectories
Initialisierung:
= [
'app',
]

◆ $watchedExtensions

array Config::Toolbar::$watchedExtensions
Initialisierung:
= [
'php', 'css', 'js', 'html', 'svg', 'json', 'env',
]

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: