public function hookGetContentElement($model, $buffer)
    {
        if ($model->type === 'semantic_html5'
            && $model->sh5_tag === 'start'
            && $model->bootstrap_isGridElement === 'column'
            && static::$grids[$model->bootstrap_gridRow]
        ) {
            $row  = $model->bootstrap_gridRow;
            $grid = static::$grids[$row];

            // Index is already incremented, so go back
            $index = (static::$count[$row] - 1);

            $buffer = $grid->getColumnResetsAsString($index) . $buffer;
        }

        return $buffer;
    }
public function hookGetContentElement($model, $buffer)
    {
        if ($model->type === 'semantic_html5'
            && $model->sh5_tag === 'start'
            && $model->bootstrap_isGridElement === 'column'
            && static::$grids[$model->bootstrap_gridRow]
        ) {
            $row  = $model->bootstrap_gridRow;
            $grid = static::$grids[$row];

            // Index is already incremented, so go back
            $index = (static::$count[$row] - 1);

            $buffer = $grid->getColumnResetsAsString($index) . $buffer;
        }

        return $buffer;
    }
public function hookGetContentElement ( $ model , $ buffer ) { if ( $ model -> type === 'semantic_html5' && $ model -> sh5_tag === 'start' && $ model -> bootstrap_isGridElement === 'column' && static :: $ grids [ $ model -> bootstrap_gridRow ] ) { $ row = $ model -> bootstrap_gridRow ; $ grid = static :: $ grids [ $ row ] ; // Index is already incremented, so go back $ index = ( static :: $ count [ $ row ] - 1 ) ; $ buffer = $ grid -> getColumnResetsAsString ( $ index ) . $ buffer ; } return $ buffer ; }
Add clear fixes for a column.

@param \ContentModel $model  The content model.
@param string        $buffer The content element output.

@return string
Add clear fixes for a column .