TbHtml::addSpanClass PHP 메소드

addSpanClass() 보호된 정적인 메소드

Adds the grid span class to the given options is applicable. BS3 no longer use span classes. During the BS3 transition, this will use the col-md-* CSS class.
사용 중단:
protected static addSpanClass ( array &$htmlOptions )
$htmlOptions array the HTML attributes.
    protected static function addSpanClass(&$htmlOptions)
    {
        // todo: remove this method
        $span = TbArray::popValue('span', $htmlOptions);
        if (!empty($span)) {
            self::addCssClass('col-md-' . $span, $htmlOptions);
        }
    }
TbHtml