include/generic/SugarWidgets/SugarWidgetField.php
\SugarWidgetField
Package:
Generic Sugar widget
- Parent(s)
- \SugarWidget
- Children
- \SugarWidgetSubPanelRemoveButtonMeetings
- \SugarWidgetSubPanelActivitiesStatusField
- \SugarWidgetSubPanelDeleteButton
- \SugarWidgetSubPanelEditRoleButton
- \SugarWidgetSubPanelGetLatestButton
- \SugarWidgetSubPanelEmailLink
- \SugarWidgetSubPanelIcon
- \SugarWidgetSubPanelRemoveButton
- \SugarWidgetSubPanelRemoveButtonProjects
- \SugarWidgetSubPanelRelFieldEditButton
- \SugarWidgetReportField
- \SugarWidgetSubPanelEditButton
- \SugarWidgetSubPanelConcat
- \SugarWidgetSubPanelLoadSignedButton
- \SugarWidgetSubPanelCloseButton
- \SugarWidgetSubPanelDetailViewLink
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
$parent_bean= ''
inheritedInherited from:
\SugarWidget::$$parent_bean
Details
- Type
- n/a
- Inherited_from
- \SugarWidget::$$parent_bean
$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 |
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 |
setParentBean(
$parent_bean
)
:
void
inherited
Inherited from:
\SugarWidget::setParentBean()
Parameters
Name | Type | Description |
---|---|---|
$parent_bean |
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 |