NAME
Kernel::System::DynamicFieldLegacy::ObjectType::FAQ
DESCRIPTION
FAQ object handler for DynamicFields
PUBLIC INTERFACE
new()
usually, you want to create an instance of this by using Kernel::System::DynamicFieldLegacy::ObjectType::FAQ->new();
PostValueSet()
perform specific functions after the Value set for this object type.
my $Success = $DynamicFieldFAQHandlerObject->PostValueSet(
DynamicFieldConfig => $DynamicFieldConfig, # complete config of the DynamicField
ObjectID => $ObjectID, # ID of the current object that the field
# must be linked to, e. g. FAQID
Value => $Value, # Value to store, depends on backend type
UserID => 123,
);
ObjectDataGet()
retrieves the data of the current object.
my %ObjectData = $DynamicFieldFAQHandlerObject->ObjectDataGet(
DynamicFieldConfig => $DynamicFieldConfig, # complete config of the DynamicField
UserID => 123,
);
returns:
%ObjectData = (
ObjectID => 123,
Data => {
FAQID => 32,
Number => 100032,
CategoryID => '2',
# ...
}
);