protected function getFieldKeysForTab($tab)
    {
        $layout = $this->getModelInformation()->form->layout();

        if ( ! array_key_exists($tab, $layout)) {
            return [];
        }

        $tabData = $layout[ $tab ];

        if ( ! ($tabData instanceof ModelFormTabDataInterface)) {
            return [];
        }

        return $tabData->descendantFieldKeys();
    }
protected function getFieldKeysForTab($tab)
    {
        $layout = $this->getModelInformation()->form->layout();

        if ( ! array_key_exists($tab, $layout)) {
            return [];
        }

        $tabData = $layout[ $tab ];

        if ( ! ($tabData instanceof ModelFormTabDataInterface)) {
            return [];
        }

        return $tabData->descendantFieldKeys();
    }
protected function getFieldKeysForTab ( $ tab ) { $ layout = $ this -> getModelInformation ( ) -> form -> layout ( ) ; if ( ! array_key_exists ( $ tab , $ layout ) ) { return [ ] ; } $ tabData = $ layout [ $ tab ] ; if ( ! ( $ tabData instanceof ModelFormTabDataInterface ) ) { return [ ] ; } return $ tabData -> descendantFieldKeys ( ) ; }
Returns the form field keys that are descendants of a given tab pane.

@param string $tab   key for a tab pane
@return string[]
Returns the form field keys that are descendants of a given tab pane .