NAME
Kernel::System::DynamicFieldLegacy::Driver::Base – common fields backend functions
PUBLIC INTERFACE
EditLabelRender()
creates the label HTML to be used in edit masks.
my $LabelHTML = $BackendObject->EditLabelRender(
DynamicFieldConfig => $DynamicFieldConfig, # complete config of the DynamicField
FieldName => 'TheField', # the value to be set on the 'for' attribute
AdditionalText => 'Between' # other text to be placed next to FieldName
Mandatory => 1, # 0 or 1,
);
ValueSearch()
Searches/fetches dynamic field value.
my $Value = $BackendObject->ValueSearch(
DynamicFieldConfig => $DynamicFieldConfig, # complete config of the DynamicField
Search => 'test',
);
Returns [
{
ID => 437,
FieldID => 23,
ObjectID => 133,
ValueText => 'some text',
ValueDateTime => '1977-12-12 12:00:00',
ValueInt => 123,
},
];