include/tabs.php
\SugarWidgetTabs
Package:
Generic Sugar widget
- Parent(s)
- \SugarWidget
Properties


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


$layout_manager= 'null'
inheritedInherited from:
\SugarWidget::$$layout_manager
Default value
null
Details- Type
- n/a
- Inherited_from
- \SugarWidget::$$layout_manager


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


SugarWidget(
$layout_manager
)
:
void
inherited
Inherited from:
\SugarWidget::SugarWidget()
Parameters
Name | Type | Description |
---|---|---|
$layout_manager |


SugarWidgetTabs(
$tabs, $current_key, $jscallback
)
:
void
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()
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()
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()
Parameters
Name | Type | Description |
---|---|---|
$id | \id | String value to set the widget's unique id |