Retrieve the CSS class name(s) for the `.form-group`.

@return string
774444
public function formGroupCssClass()
    {
        if (empty($this->formGroupCssClass)) {
            $this->formGroupCssClass = $this->defaultFormGroupCssClasses();
        }

        return implode(' ', $this->formGroupCssClass);
    }
884679
public function fetchCSS()
    {
        $string = "";

        if (empty($this->queuedCSS)) {
            return $string;
        }

        foreach ($this->queuedCSS as $sheet) {
            $string .= '<link rel="stylesheet" href="' . $sheet .'">' . "\r\n";
        }

        return $string;
    }
484497
protected function getFormTag()
    {
        $form_tag = new SwatHtmlTag('form');

        $form_tag->addAttributes(array(
            'id' => $this->id,
            'method' => $this->method,
            'enctype' => $this->encoding_type,
            'accept-charset' => $this->accept_charset,
            'action' => $this->action,
            'class' => $this->getCSSClassString()
        ));

        // we're going to validate data on the server, so turn off HTML5
        // form validation
        $form_tag->novalidate = 'novalidate';

        return $form_tag;
    }
272274
public function getClassNames()
    {
        $classes = array_merge(
            parent::getClassNames(),
            [
                $this->IconSizeClass,
                $this->CornerStyleClass
            ]
        );
        
        return $classes;
    }
318535
function getClassName() {
    	preg_match('/\[\s\<\w+?>\s([\w\\\\]+)/s', $this->__toString(), $matches);
    	$class = isset($matches[1]) ? $matches[1] : null;
        if(in_array($class, [ 'array', 'string', 'char', 'bool', 'boolean', 'int', 'integer', 'double', 'float', 'real', 'mixed', 'number', 'null', 'callable', 'callback' ])) {
            return null;
        }
        return $class;
    }
721925
protected function getClassName()
    {
        $name = implode('', array_map('ucwords', $this->getSortedSingularTableNames()));

        $name = preg_replace_callback('/(\_)([a-z]{1})/', function ($matches) {
            return studly_case($matches[0]);
        }, $name);

        return "Create{$name}PivotTable";
    }
731909
public function getCollapseClassNames()
    {
        $classes = $this->styles('navbar.collapse', 'collapse');
        
        if ($this->hasRows()) {
            $classes[] = $this->style('navbar.column');
        }
        
        if ($align = $this->ItemAlign) {
            $classes[] = $this->style(sprintf('navbar.item-align-%s', $align));
        }
        
        if ($justify = $this->ItemJustify) {
            $classes[] = $this->style(sprintf('navbar.item-justify-%s', $justify));
        }
        
        $this->extend('updateCollapseClassNames', $classes);
        
        return $classes;
    }
658850
public function getClasses()
    {
        $classes = explode(' ', $this->cssClass);
        if ($this->style) {
            $classes[] = $this->style;
        }

        $this->extend('updateClasses', $classes);
        return Convert::raw2att(implode(' ', $classes));
    }
26311
private function classes(): string
    {
        $classes = '';

        if ($this->style !== null) {
            $classes .= ' label-' . $this->style;
        }

        return $classes;
    }
320240
protected function htmlOptionsGroup()
    {
        $class = !empty($this->defaults['groupClass']) ? $this->defaults['groupClass'] : '';
        $style = !empty($this->defaults['groupStyle']) ? $this->defaults['groupStyle'] : '';

        if (!empty($this->bootstrapDefaults['groupClass'])) {
            $class .= $this->bootstrapDefaults['groupClass'];
            if ($this->dropup) {
                $class .= ' dropup';
            }
        }
        if (!empty($this->bootstrapDefaults['groupStyle'])) {
            $style .= $this->bootstrapDefaults['groupStyle'];
        }
        if (!empty($this->groupClass) && is_string($this->groupClass)) {
            $class .= ' ' . $this->groupClass;
        }
        if (!empty($this->groupStyle) && is_string($this->groupStyle)) {
            $style .= ' ' . $this->groupStyle;
        }

        return [
            'class' => $class ?: null,
            'style' => $style ?: null,
        ];
    }
709699
protected function getClassNameSuffix()
    {
        $suffix = $this->input->getOption('suffix');

        if (empty($suffix)) {
            $suffix = $this->classNameSuffix;
        }

        return $suffix;
    }
1240625
private function getGroupId(): ?string
    {
        $group = $this->getPanelGroup();
        if (!$group) {
            return null;
        }

        $cssID = StringUtil::deserialize($group->cssID, true);
        if (is_string($cssID[0]) && $cssID[0] !== '') {
            return $cssID[0];
        }

        return 'panel-group-' . $group->id;
    }
1122775
private function classes() : string
    {
        $classes = '';

        if ($this->xl_size !== null) {
            $classes .= ' col-xl-' . $this->xl_size;
        }

        if ($this->lg_size !== null) {
            $classes .= ' col-lg-' . $this->lg_size;
        }

        if ($this->md_size !== null) {
            $classes .= ' col-md-' . $this->md_size;
        }

        if ($this->sm_size !== null) {
            $classes .= ' col-sm-' . $this->sm_size;
        }

        if ($this->xs_size !== null) {
            $classes .= ' col-' . $this->xs_size;
        }

        if ($this->bg_color !== null) {
            $classes .= ' bg-' . $this->bg_color;
        }

        if ($this->text_color !== null) {
            $classes .= ' text-' . $this->text_color;
        }

        return trim($classes);
    }
1123228
public function getFieldNumber()
    {
        // Check if exists
        if (!$this->exists()) {
            return null;
        }
        // Check parent
        $form = $this->Parent();
        if (!$form || !$form->exists() || !($fields = $form->Fields())) {
            return null;
        }

        $prior = 0; // Number of prior group at this level
        $stack = []; // Current stack of nested groups, where the top level = the page
        foreach ($fields->map('ID', 'ClassName') as $id => $className) {
            if ($className === EditableFormStep::class) {
                $priorPage = empty($stack) ? $prior : $stack[0];
                $stack = array($priorPage + 1);
                $prior = 0;
            } elseif ($className === EditableFieldGroup::class) {
                $stack[] = $prior + 1;
                $prior = 0;
            } elseif ($className === EditableFieldGroupEnd::class) {
                $prior = array_pop($stack);
            }
            if ($id == $this->ID) {
                return implode('.', $stack);
            }
        }
        return null;
    }
198677
private function getClassName()
    {
        if (null === $this->className) {
            $this->className = get_class($this);
        }

        return $this->className;
    }
565688
public static function getFieldGroupSelector($formName)
    {
        $formSelector = CssSelector::getFormByNameSelector($formName);

        if (empty($formSelector)) {
            return '';
        }

        return sprintf('%s .form-group', $formSelector);
    }
744598
public function getCustomCSSPrefix()
    {
        if ($parent = $this->getParent()) {
            return sprintf('%s %s', $parent->CSSID, $this->CSSID);
        }
        
        return $this->CSSID;
    }