public static function em($text, $htmlOptions = array(), $tag = 'p')
    {
        $color = TbArray::popValue('color', $htmlOptions);
        if (TbArray::popValue('muted', $htmlOptions, false)) {
            self::addCssClass('muted', $htmlOptions);
        } else {
            if (!empty($color)) {
                self::addCssClass('text-' . $color, $htmlOptions);
            }
        }
        return self::tag($tag, $htmlOptions, $text);
    }
public static function em($text, $htmlOptions = array(), $tag = 'p')
    {
        $color = TbArray::popValue('color', $htmlOptions);
        if (TbArray::popValue('muted', $htmlOptions, false)) {
            self::addCssClass('muted', $htmlOptions);
        } else {
            if (!empty($color)) {
                self::addCssClass('text-' . $color, $htmlOptions);
            }
        }
        return self::tag($tag, $htmlOptions, $text);
    }
public static function em ( $ text , $ htmlOptions = array ( ) , $ tag = 'p' ) { $ color = TbArray :: popValue ( 'color' , $ htmlOptions ) ; if ( TbArray :: popValue ( 'muted' , $ htmlOptions , false ) ) { self :: addCssClass ( 'muted' , $ htmlOptions ) ; } else { if ( ! empty ( $ color ) ) { self :: addCssClass ( 'text-' . $ color , $ htmlOptions ) ; } } return self :: tag ( $ tag , $ htmlOptions , $ text ) ; }
Generates an emphasized text.
@param string $text the text to emphasize.
@param array $htmlOptions additional HTML attributes.
@param string $tag the HTML tag.
@return string the generated text.
Generates an emphasized text .