include/GroupedTabs/GroupedTabStructure.php

Show: inherited
Table of Contents

\GroupedTabStructure

Package:

Methods

methodpublicget_tab_structure( array $modList = '', array $patch = '', bool $ignoreSugarConfig = false, bool $labelAsKey = false ) : array

Prepare the tabs structure.

Uses 'Other' tab functionality. If $modList is not specified, $modListHeader is used as default.

Parameters
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.

Returns
Type Description
array the complete tab-group structure
Documentation was generated by DocBlox 0.18.1.