Grido\Components\Filters\Filter::formatValue PHP Method

formatValue() protected method

Format value for database.
protected formatValue ( string $value ) : string
$value string
return string
    protected function formatValue($value)
    {
        if ($this->formatValue !== NULL) {
            return str_replace(static::VALUE_IDENTIFIER, $value, $this->formatValue);
        } else {
            return $value;
        }
    }