public static function help($text, $htmlOptions = array())
    {
        $type = TbArray::popValue('type', $htmlOptions, self::HELP_TYPE_INLINE);
        self::addCssClass('help-' . $type, $htmlOptions);
        return self::tag($type === self::HELP_TYPE_INLINE ? 'span' : 'p', $htmlOptions, $text);
    }
public static function help($text, $htmlOptions = array())
    {
        $type = TbArray::popValue('type', $htmlOptions, self::HELP_TYPE_INLINE);
        self::addCssClass('help-' . $type, $htmlOptions);
        return self::tag($type === self::HELP_TYPE_INLINE ? 'span' : 'p', $htmlOptions, $text);
    }
public static function help ( $ text , $ htmlOptions = array ( ) ) { $ type = TbArray :: popValue ( 'type' , $ htmlOptions , self :: HELP_TYPE_INLINE ) ; self :: addCssClass ( 'help-' . $ type , $ htmlOptions ) ; return self :: tag ( $ type === self :: HELP_TYPE_INLINE ? 'span' : 'p' , $ htmlOptions , $ text ) ; }
Generates a help text.
@param string $text the help text.
@param array $htmlOptions additional HTML attributes.
@return string the generated text.
Generates a help text .