public function addFormTabs($parentBridge, $name, $arrayOrKey1 = null) {
        $options = func_get_args();
        $options = \MUtil_Ra::pairs($options, 2);

        /* $options = $this->_mergeOptions($name, $options,
          self::SUBFORM_OPTIONS); */
        //\MUtil_Echo::track($options);
        if (isset($options['form'])) {
            $form = $options['form'];
            unset($options['form']);
        } else {
            $formClass = get_class($parentBridge->getForm());
            $form      = new $formClass();
        }
        $submodel = $parentBridge->getModel()->get($name, 'model');
        if ($submodel instanceof \MUtil_Model_ModelAbstract) {
            $bridge = $submodel->getBridgeFor('form', $form);
            foreach ($submodel->getItemsOrdered() as $itemName) {
                if (!$form->getElement($name)) {
                    if ($submodel->has($itemName, 'label')) {
                        $bridge->add($itemName);
                    } else {
                        $bridge->addHidden($itemName);
                    }
                }
            }
        }
        $form->activateJQuery();
        $element = new \Gems_Form_Element_Tabs($form, $name, $options);

        $parentBridge->getForm()->addElement($element);
        return $element;
    }