modules/Connectors/tabs.php
\ConnectorWidgetTabs
Package:
Generic Sugar widget
- Parent(s)
- \SugarWidgetTabs < \SugarWidget
Properties

$current_key= ''
inheritedInherited from:
\SugarWidgetTabs::$$current_key
Details
- Type
- n/a
- Inherited_from
- \SugarWidgetTabs::$$current_key

$form_value= ''
Details
- Type
- n/a
- Inherited_from
- \SugarWidget::$$form_value
- Inherited_from
- \SugarWidgetTabs::$$form_value

$layout_manager= 'null'
Default value
nullDetails- Type
- n/a
- Inherited_from
- \SugarWidget::$$layout_manager
- Inherited_from
- \SugarWidgetTabs::$$layout_manager

$parent_bean= ''
Details
- Type
- n/a
- Inherited_from
- \SugarWidget::$$parent_bean
- Inherited_from
- \SugarWidgetTabs::$$parent_bean

$tabs= ''
inheritedInherited from:
\SugarWidgetTabs::$$tabs
Details
- Type
- n/a
- Inherited_from
- \SugarWidgetTabs::$$tabs

$widget_id= ''
Details
- Type
- n/a
- Inherited_from
- \SugarWidget::$$widget_id
- Inherited_from
- \SugarWidgetTabs::$$widget_id
Methods

ConnectorWidgetTabs(
$tabs, $current_key, $jscallback, $class
=
'tablist'
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $tabs | ||
| $current_key | ||
| $jscallback | ||
| $class |

SugarWidgetTabs(
$tabs, $current_key, $jscallback
)
:
void
inherited
Inherited from:
\SugarWidgetTabs::SugarWidgetTabs()
Parameters
| Name | Type | Description |
|---|---|---|
| $tabs | ||
| $current_key | ||
| $jscallback |

getTruncatedColumnAlias(
$column_name
)
:
void
inherited
getTruncatedColumnAlias This function ensures that a column alias is no more than 28 characters. Should the column_name argument exceed 28 charcters, it creates an alias using the first 22 characters of the column_name plus an md5 of the first 6 characters of the lowercased column_name value.
Inherited from: \SugarWidget::getTruncatedColumnAlias()\SugarWidgetTabs::getTruncatedColumnAlias()
Parameters
| Name | Type | Description |
|---|---|---|
| $column_name |

getWidgetId(
)
:
\id
inherited
getSubpanelWidgetId This is a utility function to return a widget's unique id
Inherited from: \SugarWidget::getWidgetId()\SugarWidgetTabs::getWidgetId()
Returns
| Type | Description |
|---|---|
| \id | String label of the widget's unique id |

setWidgetId(
\id $id
=
''
)
:
void
inherited
setSubpanelWidgetId This is a utility function to set the id for a widget
Inherited from: \SugarWidget::setWidgetId()\SugarWidgetTabs::setWidgetId()
Parameters
| Name | Type | Description |
|---|---|---|
| $id | \id | String value to set the widget's unique id |