original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Returns the form field keys that are descendants of a given tab pane.
  
  @param string $tab   key for a tab pane
  @return string[]
docstring_tokens: Returns the form field keys that are descendants of a given tab pane .