[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Users/models/ -> Field.php (summary)

(no description)

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

Defines 1 class

Users_Field_Model:: (10 methods):
  isReadOnly()
  isViewEnabled()
  getFieldDataType()
  isAjaxEditable()
  getPicklistValues()
  getAllSkins()
  getDisplayValue()
  getAllRoles()
  isEditable()
  isEmptyPicklistOptionAllowed()


Class: Users_Field_Model  - X-Ref

User Field Model Class

isReadOnly()   X-Ref
Function to check whether the current field is read-only

return: <Boolean> - true/false

isViewEnabled()   X-Ref
Function to check if the field is shown in detail view

return: <Boolean> - true/false

getFieldDataType()   X-Ref
Function to get the Webservice Field data type

return: <String> Data type of the field

isAjaxEditable()   X-Ref
Function to check whether field is ajax editable'

return: <Boolean>

getPicklistValues()   X-Ref
Function to get all the available picklist values for the current field

return: <Array> List of picklist values if the field is of type picklist or multipicklist, null otherwise.

getAllSkins()   X-Ref
Function to returns all skins(themes)

return: <Array>

getDisplayValue($value, $recordId = false)   X-Ref
Function to retieve display value for a value

param: <String> $value - value which need to be converted to display value
return: <String> - converted display value

getAllRoles()   X-Ref
Function returns all the User Roles

return:

isEditable()   X-Ref
Function to check whether this field editable or not
return <boolen> true/false


isEmptyPicklistOptionAllowed()   X-Ref
Function which will check if empty piclist option should be given




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