/** * Output an error or warning box using a Status object. * * @param $status Status */ public function showStatusBox($status) { if (!$status->isGood()) { $text = $status->getWikiText(); if ($status->isOk()) { $box = $this->getWarningBox($text); } else { $box = $this->getErrorBox($text); } $this->output->addHTML($box); } }
/** * Output stylesheet for web installer pages */ public function outputCss() { $this->request->response()->header('Content-type: text/css'); echo $this->output->getCSS(); }