protected static function tooltipPopover($label, $url, $title, $htmlOptions)
    {
        $htmlOptions['title'] = $title;
        if (TbArray::popValue('animation', $htmlOptions)) {
            $htmlOptions['data-animation'] = 'true';
        }
        if (TbArray::popValue('html', $htmlOptions)) {
            $htmlOptions['data-html'] = 'true';
        }
        $selector = TbArray::popValue('selector', $htmlOptions);
        if (!empty($selector)) {
            $htmlOptions['data-selector'] = $selector;
        }
        $placement = TbArray::popValue('placement', $htmlOptions);
        if (!empty($placement)) {
            $htmlOptions['data-placement'] = $placement;
        }
        $trigger = TbArray::popValue('trigger', $htmlOptions);
        if (!empty($trigger)) {
            $htmlOptions['data-trigger'] = $trigger;
        }
        if (($delay = TbArray::popValue('delay', $htmlOptions)) !== null) {
            $htmlOptions['data-delay'] = $delay;
        }
        return self::link($label, $url, $htmlOptions);
    }
protected static function tooltipPopover($label, $url, $title, $htmlOptions)
    {
        $htmlOptions['title'] = $title;
        if (TbArray::popValue('animation', $htmlOptions)) {
            $htmlOptions['data-animation'] = 'true';
        }
        if (TbArray::popValue('html', $htmlOptions)) {
            $htmlOptions['data-html'] = 'true';
        }
        $selector = TbArray::popValue('selector', $htmlOptions);
        if (!empty($selector)) {
            $htmlOptions['data-selector'] = $selector;
        }
        $placement = TbArray::popValue('placement', $htmlOptions);
        if (!empty($placement)) {
            $htmlOptions['data-placement'] = $placement;
        }
        $trigger = TbArray::popValue('trigger', $htmlOptions);
        if (!empty($trigger)) {
            $htmlOptions['data-trigger'] = $trigger;
        }
        if (($delay = TbArray::popValue('delay', $htmlOptions)) !== null) {
            $htmlOptions['data-delay'] = $delay;
        }
        return self::link($label, $url, $htmlOptions);
    }
protected static function tooltipPopover ( $ label , $ url , $ title , $ htmlOptions ) { $ htmlOptions [ 'title' ] = $ title ; if ( TbArray :: popValue ( 'animation' , $ htmlOptions ) ) { $ htmlOptions [ 'data-animation' ] = 'true' ; } if ( TbArray :: popValue ( 'html' , $ htmlOptions ) ) { $ htmlOptions [ 'data-html' ] = 'true' ; } $ selector = TbArray :: popValue ( 'selector' , $ htmlOptions ) ; if ( ! empty ( $ selector ) ) { $ htmlOptions [ 'data-selector' ] = $ selector ; } $ placement = TbArray :: popValue ( 'placement' , $ htmlOptions ) ; if ( ! empty ( $ placement ) ) { $ htmlOptions [ 'data-placement' ] = $ placement ; } $ trigger = TbArray :: popValue ( 'trigger' , $ htmlOptions ) ; if ( ! empty ( $ trigger ) ) { $ htmlOptions [ 'data-trigger' ] = $ trigger ; } if ( ( $ delay = TbArray :: popValue ( 'delay' , $ htmlOptions ) ) !== null ) { $ htmlOptions [ 'data-delay' ] = $ delay ; } return self :: link ( $ label , $ url , $ htmlOptions ) ; }
Generates a base tooltip.
@param string $label the tooltip link label text.
@param mixed $url the link url.
@param string $title the tooltip title text.
@param array $htmlOptions additional HTML attributes.
@return string the generated tooltip.
Generates a base tooltip .