‪TYPO3CMS  9.5
TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger Class Reference
Inheritance diagram for TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger:

Public Member Functions

 startQuery ($sql, array $params=null, array $types=null)
 
 stopQuery ()
 
array getQueries ()
 

Protected Attributes

array $queries = array( )
 
bool $enabled = true
 
float $start
 
int $currentQuery = 0
 

Detailed Description

Doctrine SQL Logger implementation for recording queries for the admin panel

Definition at line 27 of file DoctrineSqlLogger.php.

Member Function Documentation

◆ getQueries()

array TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger::getQueries ( )
Returns
‪array

Definition at line 92 of file DoctrineSqlLogger.php.

References TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger\$queries.

◆ startQuery()

TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger::startQuery (   $sql,
array  $params = null,
array  $types = null 
)

◆ stopQuery()

TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger::stopQuery ( )

Member Data Documentation

◆ $currentQuery

int TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger::$currentQuery = 0
protected

◆ $enabled

bool TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger::$enabled = true
protected

If Debug Stack is enabled (log queries) or not.

Definition at line 41 of file DoctrineSqlLogger.php.

◆ $queries

array TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger::$queries = array( )
protected

Executed SQL queries.

Definition at line 35 of file DoctrineSqlLogger.php.

Referenced by TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger\getQueries().

◆ $start

float TYPO3\CMS\Adminpanel\Log\DoctrineSqlLogger::$start
protected