= 200 && $statusCode < 300) { $class = 'label-success'; } elseif ($statusCode >= 100 && $statusCode < 200) { $class = 'label-info'; } else { $class = 'label-important'; } $statusText = Html::encode(isset(Response::$httpStatuses[$statusCode]) ? Response::$httpStatuses[$statusCode] : ''); ?>