Toggles layout classes

@param String cls the layout class to toggle
@returns void
183086
function change_layout(cls) {
    $("body").toggleClass(cls);
    AdminLTE.layout.fixSidebar();
    //Fix the problem with right sidebar and layout boxed
    if (cls == "layout-boxed")
      AdminLTE.controlSidebar._fix($(".control-sidebar-bg"));
    if ($('body').hasClass('fixed') && cls == 'fixed') {
      AdminLTE.pushMenu.expandOnHover();
      AdminLTE.layout.activate();
    }
    AdminLTE.controlSidebar._fix($(".control-sidebar-bg"));
    AdminLTE.controlSidebar._fix($(".control-sidebar"));
  }
721195
public function afterCompile(ClassType $class): void
	{
		$config = $this->config;

		if ($config->debug === true) {
			$initialize = $class->getMethod('initialize');
			$initialize->addBody(
				'$this->getService(?)->addPanel($this->getService(?));',
				['tracy.bar', $this->prefix('panel')]
			);
		}
	}
368993
public function setClasses($classes)
    {
        if (!is_array($classes)) {
            $classes = $classes ? array($classes) : array();
        }
        $this->modelClasses = $classes;
    }
1328550
public function decorate($class)
    {
        if (is_array($class)) {
            foreach ($class as $model) {
                $this->mappings->put($model, null);
            }
        } else {
            $this->mappings->put($class, null);
        }
    }
716629
function toggleClass (el, type, val) {
  el && el.classList[val ? type : 'toggle'](val || type);
}
803096
public function remove_html_class( $class )
    {
        $i = 0;
        foreach( $this->html_classes as $c )
        {
            if( $c === $class )
            {
                array_splice($this->html_classes,$i,1);
                break;
            }
            $i++;
        }
    }
915707
function initializeClassAttribute( $classAttribute )
    {
        if ( $classAttribute->attribute( self::DEFAULT_ZONE_LAYOUT_FIELD ) === null )
            $classAttribute->setAttribute( self::DEFAULT_ZONE_LAYOUT_FIELD, '' );

        $classAttribute->store();
    }
234613
function setClass( $value, $params=FALSE ) {
    $this->class['value']  = $value;
    $this->class['params'] = $this->_setParams( $params );
  }
630159
public function updateClassNames(&$classes)
    {
        if (!$this->apply()) {
            return;
        }
        
        if ($class = $this->owner->PaginationSizeClass) {
            $classes[] = $class;
        }
        
        if ($class = $this->owner->PaginationButtonModeClass) {
            $classes[] = $class;
        }
    }
785010
public function setLayout($layout){
        $this->_layout = $layout;
        if(isset($this->_view[0])) {
            $this->resetViews();
        }
        $this->addView($layout);
    }
722830
public function enableRowLayouts($rowLayoutsToKeep)
  {
    if (is_array($rowLayoutsToKeep)) {
      add_action('vc_after_init_base', function () use ($rowLayoutsToKeep) {
        global $vc_row_layouts;

        foreach ($vc_row_layouts as $key => $vcRowLayout) {
          if (false === array_search($vcRowLayout['title'], $rowLayoutsToKeep)) {
            unset($vc_row_layouts[$key]);
          }
        }
      });
    }
  }
641386
public function updateClassNames(&$classes)
    {
        if ($position = $this->owner->Position) {
            $classes[] = $this->style('position', $position);
        }
    }
930827
function( cls ) {
				var classes = this.getCustomData( 'classes' );
				if ( !this.hasClass( cls ) ) {
					!classes && ( classes = [] ), classes.push( cls );
					this.setCustomData( 'classes', classes );
					this.addClass( cls );
				}
			}
1186108
private function buildAlign(array &$classes, string $sizeSuffix = ''): void
    {
        if ($this->align) {
            $classes[] = 'align-self'. $sizeSuffix . '-' . $this->align;
        }
    }
986747
function changeSkin(cls) {
        $.each(mySkins, function (i) {
            $('body').removeClass(mySkins[i])
        })

        $('body').addClass(cls)
        store('skin', cls)
        return false
    }
712878
public function setViewLayout($view)
    {
        $this->layout         = $this->viewLayout->change($view);
        $this->layout->layout = $this->viewPath->setUp($this->layout->layout, null);
    }
764887
protected function setClass()
    {
        if (!isset($this->rawOptions['class'])) {
            $this->rawOptions['class'] = static::DEFAULT_CLASS;
        }

        $this->class = $this->rawOptions['class'];
        unset($this->rawOptions['class']);
    }