protected function _createMultiCheckBoxElements($name, $options, $separator = null, $toggleLabel = null, $breakBeforeToggle = false)
    {
        $elements[$name] = $this->_createMultiElement('multiCheckbox', $name, $options, null);

        if (! $elements[$name]) {
            return [];
        }

        if (null === $separator) {
            $separator = ' ';
        }
        $elements[$name]->setSeparator($separator);

        if (false === $toggleLabel) {
            return $elements;
        }

        if ($breakBeforeToggle) {
            $elements['break_' . $name] = \MUtil_Html::create('br');
        }

        $tName = 'toggle_' . $name;
        $options = [
            'label'    => $toggleLabel ? $toggleLabel : $this->_('Toggle'),
            'selector' => "input[name^=$name]",
            ];
        $elements[$tName] = $this->form->createElement('ToggleCheckboxes', $tName, $options);

        return $elements;
    }