private function createColumn($template)
    {
        // semantic html5 element is marked as an grid column
        if ($template->bootstrap_isGridElement == 'column') {
            if (static::$grids[$template->bootstrap_gridRow]) {
                $row   = $template->bootstrap_gridRow;
                $grid  = static::$grids[$row];
                $index = static::$count[$row];

                $template->class .= ($template->class ? ' ' : '') . $grid->getColumnAsString($index);
                static::$count[$row]++;
            }
        }
    }