protected static function addTextAlignClass(&$htmlOptions)
    {
        $align = TbArray::popValue('textAlign', $htmlOptions);
        if (!empty($align)) {
            self::addCssClass('text-' . $align, $htmlOptions);
        }
    }
protected static function addTextAlignClass(&$htmlOptions)
    {
        $align = TbArray::popValue('textAlign', $htmlOptions);
        if (!empty($align)) {
            self::addCssClass('text-' . $align, $htmlOptions);
        }
    }
protected static function addTextAlignClass ( & $ htmlOptions ) { $ align = TbArray :: popValue ( 'textAlign' , $ htmlOptions ) ; if ( ! empty ( $ align ) ) { self :: addCssClass ( 'text-' . $ align , $ htmlOptions ) ; } }
Adds the text align class to the given options if applicable.
@param array $htmlOptions the HTML attributes.
Adds the text align class to the given options if applicable .