protected function _save($group=null) {
		if(!$group)
			$group = $this;

		$group->doSave();

		if($group instanceof self) {
			foreach($group->fields as $name=>$field) {
				if($field instanceof self)
					$field->_save($field);
			}
		}
	}
protected function _save($group=null) {
		if(!$group)
			$group = $this;

		$group->doSave();

		if($group instanceof self) {
			foreach($group->fields as $name=>$field) {
				if($field instanceof self)
					$field->_save($field);
			}
		}
	}
protected function _save ( $ group = null ) { if ( ! $ group ) $ group = $ this ; $ group -> doSave ( ) ; if ( $ group instanceof self ) { foreach ( $ group -> fields as $ name => $ field ) { if ( $ field instanceof self ) $ field -> _save ( $ field ) ; } } }
Save the group and its children.
@param  GroupInterface $group
Save the group and its children .