getProfileLogs() public method Returns all profile logs of the current request for this panel. public array getProfileLogs ( )
$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 ( )
$profileLogs public read-only property public array getProfileLogs ( )
$name public read-only property Name of the panel public string getName ( )
$summaryName public read-only property Short name of the panel, which will be use in summary. public string getSummaryName ( )
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.
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.
$panel public property Related debug toolbar panel public yii\mongodb\debug\MongoDbPanel $panel = null
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
selectCollection() protected method Selects collection with given name. protected yii\mongodb\Collection selectCollection ( $name )$name string Collection name. return yii\mongodb\Collection Collection instance.
Page 220 of 633