portal/include/SugarFields/SugarFieldHandler.php
\SugarFieldHandler
Package:
Properties
Methods
displayJSValidation(
$vardef, $formname, $displayParams
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$vardef | ||
$formname | ||
$displayParams |
displaySmarty(
\parentFieldArray $parentFieldArray, \vardef $vardef, \displayType $displayType, \displayParam $displayParams
=
array()
)
:
void
Returns the smarty code to be used in a template built by TemplateHandler The SugarField class is choosen dependant on the vardef's type field.
Parameters
Name | Type | Description |
---|---|---|
$parentFieldArray | \parentFieldArray | string name of the variable in the parent template for the bean's data |
$vardef | \vardef | vardef field defintion |
$displayType | \displayType | string the display type for the field (eg DetailView, EditView, etc) |
$displayParams | \displayParam | parameters for displayin available paramters are: * labelSpan - column span for the label * fieldSpan - column span for the field |