include/generic/SugarWidgets/SugarWidget.php

Show: inherited
Table of Contents

\SugarWidget

Package: SugarCRM

Generic Sugar widget

Children
\SugarWidgetField
\SugarWidgetSubPanelTopButton
\SugarWidgetTabs
Api
 

Properties

Propertyprotected  $form_value= ''
Details
Type
n/a
Propertypublic  $layout_manager= 'null'
Default valuenullDetails
Type
n/a
Propertyprotected  $parent_bean= ''
Details
Type
n/a
Propertypublic  $widget_id= ''
Details
Type
n/a

Methods

methodpublicSugarWidget(  $layout_manager ) : void

Parameters
Name Type Description
$layout_manager
methodpublicdisplay(  $layout_def ) : void

Parameters
Name Type Description
$layout_def
methodpublicgetDisplayName( ) : void

methodpublicgetParentBean( ) : void

methodprotectedgetTruncatedColumnAlias(  $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.

Parameters
Name Type Description
$column_name
methodpublicgetWidgetId( ) : \id

getSubpanelWidgetId This is a utility function to return a widget's unique id

Returns
Type Description
\id String label of the widget's unique id
methodpublicsetParentBean(  $parent_bean ) : void

Parameters
Name Type Description
$parent_bean
methodpublicsetWidgetId( \id $id = '' ) : void

setSubpanelWidgetId This is a utility function to set the id for a widget

Parameters
Name Type Description
$id \id

String value to set the widget's unique id

Documentation was generated by DocBlox 0.18.1.