helpers/TbHtml.php
public static function tag($tag, $htmlOptions = array(), $content = false, $closeTag = true)
    {
        self::addSpanClass($htmlOptions);
        self::addColClass($htmlOptions);
        self::addPullClass($htmlOptions);
        self::addTextAlignClass($htmlOptions);
        return parent::tag($tag, $htmlOptions, $content, $closeTag);
    }
public static function tag($tag, $htmlOptions = array(), $content = false, $closeTag = true)
    {
        self::addSpanClass($htmlOptions);
        self::addColClass($htmlOptions);
        self::addPullClass($htmlOptions);
        self::addTextAlignClass($htmlOptions);
        return parent::tag($tag, $htmlOptions, $content, $closeTag);
    }
public static function tag ( $ tag , $ htmlOptions = array ( ) , $ content = false , $ closeTag = true ) { self :: addSpanClass ( $ htmlOptions ) ; self :: addColClass ( $ htmlOptions ) ; self :: addPullClass ( $ htmlOptions ) ; self :: addTextAlignClass ( $ htmlOptions ) ; return parent :: tag ( $ tag , $ htmlOptions , $ content , $ closeTag ) ; }
Generates an HTML element.
@param string $tag the tag name.
@param array $htmlOptions the element attributes.
@param mixed $content the content to be enclosed between open and close element tags.
@param boolean $closeTag whether to generate the close tag.
@return string the generated HTML element tag.
Generates an HTML element .