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

Config

'; } public function save() { return array( 'phpVersion' => PHP_VERSION, 'yiiVersion' => Yii::getVersion(), ); } }