/**
 * Method to generate html code for a list of buttons
 *
 * @param   array  $buttons  Array of buttons
 *
 * @return  string
 *
 * @since   2.5
 */
public static function buttons($buttons)
{
    if (empty($buttons)) {
        return '';
    }
    $html = array();
    foreach ($buttons as $button) {
        $html[] = HTMLHelper::_('icons.button', $button);
    }
    return implode($html);
}