* @since 2.0 */ class ConfigPanel extends Panel { public function getName() { return 'Config'; } public function getSummary() { $link = Html::a('more details', array('index', 'tag' => $this->data['tag'])); return << PHP: {$this->data['phpVersion']}, Yii: {$this->data['phpVersion']}, $link EOD; } public function getDetail() { return '

Config

'; } public function save() { return array( 'tag' => Yii::$app->getLog()->getTag(), 'phpVersion' => PHP_VERSION, 'yiiVersion' => Yii::getVersion(), ); } }