PHP 클래스 Pimcore\Db\Profiler

상속: extends Zend_Db_Profiler
파일 보기 프로젝트 열기: pimcore/pimcore

보호된 프로퍼티들

프로퍼티 타입 설명
$_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