[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Settings/Picklist/models/ -> Field.php (summary)

(no description)

File Size: 147 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Settings_Picklist_Field_Model:: (6 methods):
  isEditable()
  getPicklistValues()
  getInstance()
  getInstanceFromFieldObject()
  getEditablePicklistValues()
  getNonEditablePicklistValues()


Class: Settings_Picklist_Field_Model  - X-Ref

isEditable()   X-Ref
No description

getPicklistValues($roleIdList, $groupMode='INTERSECTION')   X-Ref
Function which will give the picklistvalues for given roleids

param: type $roleIdList -- array of role ids
param: type $groupMode -- Intersection/Conjuction , intersection will give only picklist values that exist for all roles
return: type -- array

getInstance($value, $module = false)   X-Ref
Function to get instance

param: <String> $value - fieldname or fieldid
param: <type> $module - optional - module instance
return: <Vtiger_Field_Model>

getInstanceFromFieldObject(Vtiger_Field $fieldObj)   X-Ref
Static Function to get the instance fo Vtiger Field Model from a given Vtiger_Field object

param: Vtiger_Field $fieldObj - vtlib field object
return: Vtiger_Field_Model instance

getEditablePicklistValues($fieldName)   X-Ref
Function which will give the editable picklist values for a field

param: type $fieldName -- string
return: type -- array of values

getNonEditablePicklistValues($fieldName)   X-Ref
Function which will give the non editable picklist values for a field

param: type $fieldName -- string
return: type -- array of values



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1