Select a field using standard system
public getValueToSelect ( $field_id_or_search_options, $name = '', $values = '', $options = [] ) : return | ||
$field_id_or_search_options | integer/string/array id of the search option field or field name or search option array | |
$name | string name of the select (if empty use linkfield) (default '') | |
$values | mixed default value to display (default '') | |
$options | array of possible options: Parameters which could be used in options array : - comments : boolean / is the comments displayed near the value (default false) - any others options passed to specific display method | |
return | return | the string to display |