public static function abbr($text, $word, $htmlOptions = array())
    {
        if (TbArray::popValue('small', $htmlOptions, false)) {
            self::addCssClass('initialism', $htmlOptions);
        }
        $htmlOptions['title'] = $word;
        return self::tag('abbr', $htmlOptions, $text);
    }
public static function abbr($text, $word, $htmlOptions = array())
    {
        if (TbArray::popValue('small', $htmlOptions, false)) {
            self::addCssClass('initialism', $htmlOptions);
        }
        $htmlOptions['title'] = $word;
        return self::tag('abbr', $htmlOptions, $text);
    }
public static function abbr ( $ text , $ word , $ htmlOptions = array ( ) ) { if ( TbArray :: popValue ( 'small' , $ htmlOptions , false ) ) { self :: addCssClass ( 'initialism' , $ htmlOptions ) ; } $ htmlOptions [ 'title' ] = $ word ; return self :: tag ( 'abbr' , $ htmlOptions , $ text ) ; }
Generates an abbreviation with a help text.
@param string $text the abbreviation.
@param string $word the word the abbreviation is for.
@param array $htmlOptions additional HTML attributes.
@return string the generated abbreviation.
Generates an abbreviation with a help text .