Vardefs Vardefs (Variable Definitions) are used to provide the Sugar application with information about SugarBeans. They specify information on the individual fields, relationships between beans, and the indexes for a given bean. Each module that contains a SugarBean file has a vardefs.php file located in it, which specifies the fields for that SugarBean. For example, the Vardefs for the Contact bean is located in sugarcrm/modules/Contacts/vardefs.php. Vardef files create an array called "$dictionary", which contains several entries including tables, fields, indices, and relationships.
Copyright 2004-2008 SugarCRM Inc. Product License