Documentation

目次

前のトピックへ

< Class Phalcon\Db\Profiler

次のトピックへ

Class Phalcon\Db\RawValue >

このページ

Class Phalcon\Db\Profiler\Item

This class identifies each profile in a Phalcon\Db\Profiler

Methods

public setSQLStatement (string $sqlStatement)

Sets the SQL statement related to the profile

public string getSQLStatement ()

Returns the SQL statement related to the profile

public setInitialTime (int $initialTime)

Sets the timestamp on when the profile started

public setFinalTime (int $finalTime)

Sets the timestamp on when the profile ended

public double getInitialTime ()

Returns the initial time in milseconds on when the profile started

public double getFinalTime ()

Returns the initial time in milseconds on when the profile ended

public double getTotalElapsedSeconds ()

Returns the total time in seconds spent by the profile