Kernel::System::DynamicField::Driver::Base - common fields backend functions
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, );
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, }, ];
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.