include/GroupedTabs/GroupedTabStructure.php
\GroupedTabStructure
Package: 
Parameters
Returns
Methods

get_tab_structure(
          array $modList
              =
              '', array $patch
              =
              '', bool $ignoreSugarConfig
              =
              false, bool $labelAsKey
              =
              false
          )
        
        :
          arrayPrepare the tabs structure.
Uses 'Other' tab functionality. If $modList is not specified, $modListHeader is used as default.
| Name | Type | Description | 
|---|---|---|
| $modList | array | optional list of modules considered valid  | 
| $patch | array | optional array to temporarily union into the root of the tab structure  | 
| $ignoreSugarConfig | bool | if we set this param true, the other group tab will be returned no matter $sugar_config['other_group_tab_displayed'] is true or false  | 
| $labelAsKey | bool | We use label value as return array key by default. But we can set this param true, that we can use the label name as return array key.  | 
| Type | Description | 
|---|---|
| array | the complete tab-group structure |