mongodb\debug\MongoDbPanel getProfileLogs()

getProfileLogs() public method Returns all profile logs of the current request for this panel. public array getProfileLogs ( )

mongodb\debug\MongoDbPanel $db

$db public read-only property The name of the database component to use for executing (explain) queries The name of the database component to use for executing (explain) queries public yii\db\Connection getDb ( )

mongodb\debug\MongoDbPanel $profileLogs

$profileLogs public read-only property public array getProfileLogs ( )

mongodb\debug\MongoDbPanel $name

$name public read-only property Name of the panel public string getName ( )

mongodb\debug\MongoDbPanel $summaryName

$summaryName public read-only property Short name of the panel, which will be use in summary. public string getSummaryName ( )

mongodb\debug\ExplainAction explainQuery()

explainQuery() protected method Runs explain command over the query protected array|false explainQuery ( $queryString )$queryString string Query log string. return array|false Explain results, false on failure.

mongodb\Database selectFileCollection()

selectFileCollection() protected method Selects GridFS collection with given prefix. protected yii\mongodb\file\Collection selectFileCollection ( $prefix )$prefix string File collection prefix. return yii\mongodb\file\Collection File collection instance.

mongodb\debug\ExplainAction $panel

$panel public property Related debug toolbar panel public yii\mongodb\debug\MongoDbPanel $panel = null

mongodb\debug\ExplainAction run()

run() public method Runs the explain action public string run ( $seq, $tag )$seq integer $tag string return string Explain result content throws yii\web\HttpException if requested log not found

mongodb\Database selectCollection()

selectCollection() protected method Selects collection with given name. protected yii\mongodb\Collection selectCollection ( $name )$name string Collection name. return yii\mongodb\Collection Collection instance.