PHP Класс Pimcore\Db\Profiler

Наследование: extends Zend_Db_Profiler
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_label string The original label for this profiler.
$_label_template string The label template for this profiler
$_message Zend_Wildfire_Plugin_FirePhp_TableMessage The message envelope holding the profiling summary
$_totalElapsedTime float The total time taken for all profiled queries.
$_totalQueries integer
$connectionId integer
$logFile resource
$queries array

Открытые методы

Метод Описание
__construct ( null $label = null )
__destruct ( )
getConnectionId ( ) : integer
queryEnd ( integer $queryId ) : void Intercept the query end and log the profiling data.
setConnectionId ( integer $connectionId )
setEnabled ( boolean $enable ) : Zend_Db_Profiler Enable or disable the profiler. If $enable is false, the profiler is disabled and will not log any queries sent to it.

Защищенные методы

Метод Описание
updateMessageLabel ( ) : void Update the label of the message holding the profile info.

Описание методов

__construct() публичный метод

public __construct ( null $label = null )
$label null

__destruct() публичный метод

public __destruct ( )

getConnectionId() публичный метод

public getConnectionId ( ) : integer
Результат integer

queryEnd() публичный метод

Intercept the query end and log the profiling data.
public queryEnd ( integer $queryId ) : void
$queryId integer
Результат void

setConnectionId() публичный метод

public setConnectionId ( integer $connectionId )
$connectionId integer

setEnabled() публичный метод

Enable or disable the profiler. If $enable is false, the profiler is disabled and will not log any queries sent to it.
public setEnabled ( boolean $enable ) : Zend_Db_Profiler
$enable boolean
Результат Zend_Db_Profiler Provides a fluent interface

updateMessageLabel() защищенный метод

Update the label of the message holding the profile info.
protected updateMessageLabel ( ) : void
Результат void

Описание свойств

$_label защищенное свойство

The original label for this profiler.
protected string $_label
Результат string

$_label_template защищенное свойство

The label template for this profiler
protected string $_label_template
Результат string

$_message защищенное свойство

The message envelope holding the profiling summary
protected Zend_Wildfire_Plugin_FirePhp_TableMessage $_message
Результат Zend_Wildfire_Plugin_FirePhp_TableMessage

$_totalElapsedTime защищенное свойство

The total time taken for all profiled queries.
protected float $_totalElapsedTime
Результат float

$_totalQueries защищенное свойство

protected int $_totalQueries
Результат integer

$connectionId защищенное свойство

protected int $connectionId
Результат integer

$logFile защищенное свойство

protected resource $logFile
Результат resource

$queries защищенное свойство

protected array $queries
Результат array