Exakat\Reports\Ambassador::getTopFile PHP Method

getTopFile() private method

Liste de top file
private getTopFile ( )
    private function getTopFile()
    {
        $data = $this->getFilesCount(self::TOPLIMIT);
        $html = '';
        foreach ($data as $value) {
            $html .= '<div class="clearfix">
                    <a href="#" title="' . $value['file'] . '">
                      <div class="block-cell-name">' . $value['file'] . '</div>
                      <div class="block-cell-issue text-center">' . $value['value'] . '</div>
                    </a>
                  </div>';
        }
        $nb = 10 - count($data);
        for ($i = 0; $i < $nb; ++$i) {
            $html .= '<div class="clearfix">
                      <div class="block-cell-name">&nbsp;</div>
                      <div class="block-cell-issue text-center">&nbsp;</div>
                  </div>';
        }
        return $html;
    }