php/mixins/GroupElement.php
public function clearItems() {
		foreach ( $this->items as $item ) {
			$item->setElementGroup( null );
		}

		$this->items = [];
		$this->group->clearContent();

		return $this;
	}
public function clearItems() {
		foreach ( $this->items as $item ) {
			$item->setElementGroup( null );
		}

		$this->items = [];
		$this->group->clearContent();

		return $this;
	}
public function clearItems ( ) { foreach ( $ this -> items as $ item ) { $ item -> setElementGroup ( null ) ; } $ this -> items = [ ] ; $ this -> group -> clearContent ( ) ; return $ this ; }
Clear all items.

Items will be detached, not removed, so they can be used later.

@return $this
Clear all items .