created debug panel for elasticsearch

this panel shows all logged elasticsearch queries and allows to execute
them to see the results.
This commit is contained in:
Carsten Brandt
2013-12-01 22:21:22 +01:00
parent 4565df9313
commit 5a3dba60be
7 changed files with 171 additions and 61 deletions

View File

@@ -61,7 +61,8 @@ class Module extends \yii\base\Module
Yii::$app->getView()->on(View::EVENT_END_BODY, [$this, 'renderToolbar']);
});
foreach (array_merge($this->corePanels(), $this->panels) as $id => $config) {
$this->panels = array_merge($this->corePanels(), $this->panels);
foreach ($this->panels as $id => $config) {
$config['module'] = $this;
$config['id'] = $id;
$this->panels[$id] = Yii::createObject($config);