Exakat\Reports\Devoops::formatDashboard PHP Метод

formatDashboard() защищенный Метод

protected formatDashboard ( $data, $css )
    protected function formatDashboard($data, $css)
    {
        $camembert = $this->formatCamembert($data['upLeft'], $css);
        $infobox = $this->formatInfobox($data['upRight'], $css);
        $css = new \Stdclass();
        $css->title = 'List by Severity';
        $css->titles = array('Analyzer', 'Count', 'Severity');
        $top5Severity = $this->formatTop5($data['downLeft'], $css);
        $css = new \Stdclass();
        $css->title = 'List by Files';
        $css->titles = array('Analyzer', 'Count');
        $top5Files = $this->formatTop5($data['downRight'], $css);
        return $this->formatRow($camembert, $infobox, $css) . $this->formatRow($top5Severity, $top5Files, $css);
    }