Table of Contents Previous Next

Sugar Developer Guide

Version 5.1


Chapter 3 Module Framework : Vardefs : Fields Array

Fields Array
The fields array contains one array for each field in the SugarBean. At the top level of this array the key is the name of the field, and the value is an array of attributes about that field.
The list of possible attributes are as follows:
o
o
o
o
o
o
The following example illustrates a standard ID field for a Bean.
'id' => array (
'name' => 'id',
'vname' => 'LBL_ID',
'type' => 'id',
'required'=>true,
),

Table of Contents Previous Next

Copyright 2004-2008 SugarCRM Inc.
Product License