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

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

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

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

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

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

SugarWidgetField(
$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 |

display(
$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 |

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 |

displayListPlain(
$layout_def
)
:
voidFormat the display to be similiar to what we do in a listview Difference is since we already have the team_set_id we will grab all of the teams and not do an ajax request like we do in a list view.
| Name | Type | Description |
|---|---|---|
| $layout_def |

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

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

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

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.
Inherited from: \SugarWidget::getTruncatedColumnAlias()\SugarWidgetField::getTruncatedColumnAlias()\SugarWidgetReportField::getTruncatedColumnAlias()| Name | Type | Description |
|---|---|---|
| $column_name |

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

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

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 |

queryFilterall(
array $layout_def
)
:
stringPerform the All type query
| Name | Type | Description |
|---|---|---|
| $layout_def | array |
| Type | Description |
|---|---|
| string | the subquery to be run |

queryFilterany(
array $layout_def
)
:
stringPerform the Any type query
| Name | Type | Description |
|---|---|---|
| $layout_def | array |
| Type | Description |
|---|---|
| string | the subquery to be run |

queryFilterexact(
array $layout_def
)
:
stringPerform the Exact type query
| Name | Type | Description |
|---|---|---|
| $layout_def | array |
| Type | Description |
|---|---|
| string | the subquery to be run |

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

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

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

queryPrimaryTeam(
array $layout_def
)
:
StringThis method creates the additional SQL to query for the primary team value
| Name | Type | Description |
|---|---|---|
| $layout_def | array |
| Type | Description |
|---|---|
| String | SQL to be appended blank String if no primary team specified |

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

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

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