original_string: public static function label($text, $htmlOptions = array())
      {
          ArrayHelper::addValue('class', 'label', $htmlOptions);
          return \CHtml::tag('span', $htmlOptions, $text);
      }
code: public static function label($text, $htmlOptions = array())
      {
          ArrayHelper::addValue('class', 'label', $htmlOptions);
          return \CHtml::tag('span', $htmlOptions, $text);
      }
code_tokens: public static function label ( $ text , $ htmlOptions = array ( ) ) { ArrayHelper :: addValue ( 'class' , 'label' , $ htmlOptions ) ; return \ CHtml :: tag ( 'span' , $ htmlOptions , $ text ) ; }
docstring: 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
docstring_tokens: Renders a Foundation label