[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
this file will be used to store the functions to be used in the picklist module
File Size: | 231 lines (9 kb) |
Included or required: | 3 times |
Referenced: | 0 times |
Includes or requires: | 1 file includes/runtime/Cache.php |
getUserFldArray($fld_module,$roleid) X-Ref |
Function to get picklist fields for the given module @ param $fld_module It gets the picklist details array for the given module in the given format $fieldlist = Array(Array('fieldlabel'=>$fieldlabel,'generatedtype'=>$generatedtype,'columnname'=>$columnname,'fieldname'=>$fieldname,'value'=>picklistvalues)) |
getPickListModules() X-Ref |
Function to get modules which has picklist values It gets the picklist modules and return in an array in the following format $modules = Array($tabid=>$tablabel,$tabid1=>$tablabel1,$tabid2=>$tablabel2,-------------,$tabidn=>$tablabeln) |
getrole2picklist() X-Ref |
this function returns all the roles present in the CRM so that they can be displayed in the picklist module return: array $role - the roles present in the CRM in the array format |
get_available_module_picklist($picklist_details) X-Ref |
this function returns the picklists available for a module param: array $picklist_details - the details about the picklists in the module return: array $module_pick - the picklists present in the module in an array format |
getAllPickListValues($fieldName,$lang = Array() X-Ref |
this function returns all the picklist values that are available for a given param: string $fieldName - the name of the field return: array $arr - the array containing the picklist values |
getEditablePicklistValues($fieldName, $lang= array() X-Ref |
this function accepts the fieldname and the language string array and returns all the editable picklist values for that fieldname param: string $fieldName - the name of the picklist param: array $lang - the language string array param: object $adb - the peardatabase object return: array $pick - the editable picklist values |
getNonEditablePicklistValues($fieldName, $lang=array() X-Ref |
this function accepts the fieldname and the language string array and returns all the non-editable picklist values for that fieldname param: string $fieldName - the name of the picklist param: array $lang - the language string array param: object $adb - the peardatabase object return: array $pick - the no-editable picklist values |
getAssignedPicklistValues($tableName, $roleid, $adb, $lang=array() X-Ref |
this function returns all the assigned picklist values for the given tablename for the given roleid param: string $tableName - the picklist tablename param: integer $roleid - the roleid of the role for which you want data param: object $adb - the peardatabase object return: array $val - the assigned picklist values in array format |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |