Kernel::System::DynamicField::Driver::Role::HasValueType::Number

NAME

Kernel::System::DynamicField::Driver::Role::HasValueType::Number – Role for dynamic field drivers, indicate that the driver handles and stores the values in the int column.

PUBLIC INTERFACE

Provides and overrides base methods to deal with number values.

SearchSQLGet()

Returns the SQL WHERE part that needs to be used to search in a particular dynamic field. The table must already be joined.

    my $SQL = $DynamicField->SearchSQLGet(
        TableAlias => $TableAlias,              # the alias of the already joined dynamic_field_value table to use
        SearchTerm => $SearchTerm,              # What to look for. Placeholders in LIKE searches must be passed as %.
        Operator   => $Operator,                # One of [Equals, Empty]
    );

PRIVATE INTERFACE

_ValueColumn()

Returns the value column/parameter of the driver.

_ValueValidatePrimitive()

Performs the basic validation according to the value type.

Scroll to Top