- Template Name */ public function getTemplateName() { return 'uitypes/FileLocationType.tpl'; } /** * Function to get the Display Value, for the current field type with given DB Insert Value * @param value of field * @return Converted value */ public function getDisplayValue($value) { if ($value === 'I') { $value = 'LBL_INTERNAL'; } else { $value = 'LBL_EXTERNAL'; } return vtranslate($value, 'Documents'); } }