protected function getBadgesHtml(array $badges = null)
    {
        if ($badges === null) {
            $badges = $this->badges;
        }
        $html = '';
        foreach ($badges as $badge) {
            $html .= $this->getBadgeHtml($badge[0], $badge[1], $badge[2], $badge[3]);
        }
        return $html;
    }