include/generic/SugarWidgets/SugarWidget.php
\SugarWidget
Package: SugarCRM
Generic Sugar widget
Properties
Methods

getTruncatedColumnAlias(
$column_name
)
:
voidgetTruncatedColumnAlias 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.
Parameters
| Name | Type | Description |
|---|---|---|
| $column_name |

getWidgetId(
)
:
\idgetSubpanelWidgetId This is a utility function to return a widget's unique id
Returns
| Type | Description |
|---|---|
| \id | String label of the widget's unique id |