include/generic/SugarWidgets/SugarWidgetFieldmultienum.php
\SugarWidgetFieldMultiEnum
Generic Sugar widget
- Parent(s)
- \SugarWidgetFieldEnum < \SugarWidgetReportField < \SugarWidgetField < \SugarWidget
Properties


$form_value= ''
- Type
- n/a
- Inherited_from
- \SugarWidget::$$form_value
- Inherited_from
- \SugarWidgetField::$$form_value
- Inherited_from
- \SugarWidgetReportField::$$form_value
- Inherited_from
- \SugarWidgetFieldEnum::$$form_value


$layout_manager= 'null'
null
Details- Type
- n/a
- Inherited_from
- \SugarWidget::$$layout_manager
- Inherited_from
- \SugarWidgetField::$$layout_manager
- Inherited_from
- \SugarWidgetReportField::$$layout_manager
- Inherited_from
- \SugarWidgetFieldEnum::$$layout_manager


$parent_bean= ''
- Type
- n/a
- Inherited_from
- \SugarWidget::$$parent_bean
- Inherited_from
- \SugarWidgetField::$$parent_bean
- Inherited_from
- \SugarWidgetReportField::$$parent_bean
- Inherited_from
- \SugarWidgetFieldEnum::$$parent_bean


\SugarBean
$reporter= ''
Layout manager reporter attribute
Inherited from: \SugarWidgetReportField::$$reporter\SugarWidgetFieldEnum::$$reporter- Type
- \SugarBean
- Inherited_from
- \SugarWidgetReportField::$$reporter
- Inherited_from
- \SugarWidgetFieldEnum::$$reporter


$widget_id= ''
- Type
- n/a
- Inherited_from
- \SugarWidget::$$widget_id
- Inherited_from
- \SugarWidgetField::$$widget_id
- Inherited_from
- \SugarWidgetReportField::$$widget_id
- Inherited_from
- \SugarWidgetFieldEnum::$$widget_id
Methods


SugarWidget(
$layout_manager
)
:
void
Name | Type | Description |
---|---|---|
$layout_manager |


SugarWidgetField(
$layout_manager
)
:
void
Name | Type | Description |
---|---|---|
$layout_manager |


SugarWidgetFieldEnum(
$layout_manager
)
:
void
Name | Type | Description |
---|---|---|
$layout_manager |


SugarWidgetReportField(
$layout_manager
)
:
void
Name | Type | Description |
---|---|---|
$layout_manager |


_get_column_alias(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


_get_column_select(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


_get_column_select_special(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


_get_list_value(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displayDetail(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displayDetailLabel(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displayEdit(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displayEditLabel(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displayHeaderCell(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displayHeaderCellPlain(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displayInput(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displayList(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displayListPlain(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displaySearch(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


displaySearchLabel(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


encodeMultienumCustom(
array $layout_def, string $value
)
:
string
Function checks if the multienum field is custom, and escapes it with carets (^) if it is
Name | Type | Description |
---|---|---|
$layout_def | array | field layout definition |
$value | string | value to be escaped |
Type | Description |
---|---|
string |


getSubClass(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


getTruncatedColumnAlias(
$column_name
)
:
void
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()\SugarWidgetField::getTruncatedColumnAlias()\SugarWidgetReportField::getTruncatedColumnAlias()\SugarWidgetFieldEnum::getTruncatedColumnAlias()Name | Type | Description |
---|---|---|
$column_name |


getVardef(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


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


queryFilter(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


queryFilterEmpty(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


queryFilterIs(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


queryFilterNot_Empty(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


queryGroupBy(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


queryOrderBy(
$layout_def
)
:
string
Returns an OrderBy query for multi-select. We treat multi-select the same as a normal field because the values stored in the database are in the format ^A^,^B^,^C^ though not necessarily in that order.
Name | Type | Description |
---|---|---|
$layout_def |
Type | Description |
---|---|
string |


querySelect(
$layout_def
)
:
void
Name | Type | Description |
---|---|---|
$layout_def |


setParentBean(
$parent_bean
)
:
void
Name | Type | Description |
---|---|---|
$parent_bean |


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