helpers/Typo.php
public static function label($text, $htmlOptions = array())
    {
        ArrayHelper::addValue('class', 'label', $htmlOptions);
        return \CHtml::tag('span', $htmlOptions, $text);
    }
public static function label($text, $htmlOptions = array())
    {
        ArrayHelper::addValue('class', 'label', $htmlOptions);
        return \CHtml::tag('span', $htmlOptions, $text);
    }
public static function label ( $ text , $ htmlOptions = array ( ) ) { ArrayHelper :: addValue ( 'class' , 'label' , $ htmlOptions ) ; return \ CHtml :: tag ( 'span' , $ htmlOptions , $ text ) ; }
Renders a Foundation label
@param string $text the text to render within the label
@param array $htmlOptions the HTML attributes
@return string the generated label
Renders a Foundation label